mirror of
https://github.com/element-hq/dendrite.git
synced 2025-07-01 00:06:27 +00:00
Fixes #3503 ### Pull Request Checklist <!-- Please read https://matrix-org.github.io/dendrite/development/contributing before submitting your pull request --> * [x] I have added Go unit tests or [Complement integration tests](https://github.com/matrix-org/complement) for this PR _or_ I have justified why this PR doesn't need tests * [x] Pull request includes a [sign off below](https://element-hq.github.io/dendrite/development/contributing#sign-off) _or_ I have already signed off privately Signed-off-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
20 lines
859 B
Text
20 lines
859 B
Text
#syntax=docker/dockerfile:1.2
|
|
|
|
FROM --platform=${TARGETPLATFORM} ghcr.io/element-hq/dendrite-monolith:binaries AS build
|
|
|
|
FROM alpine:latest
|
|
RUN apk --update --no-cache add curl
|
|
LABEL org.opencontainers.image.title="Dendrite (Pinecone demo)"
|
|
LABEL org.opencontainers.image.description="Next-generation Matrix homeserver written in Go"
|
|
LABEL org.opencontainers.image.source="https://github.com/matrix-org/dendrite"
|
|
LABEL org.opencontainers.image.licenses="AGPL-3.0-only OR LicenseRef-Element-Commercial"
|
|
|
|
COPY --from=build /out/create-account /usr/bin/create-account
|
|
COPY --from=build /out/generate-config /usr/bin/generate-config
|
|
COPY --from=build /out/generate-keys /usr/bin/generate-keys
|
|
COPY --from=build /out/dendrite-demo-pinecone /usr/bin/dendrite-demo-pinecone
|
|
|
|
VOLUME /etc/dendrite
|
|
WORKDIR /etc/dendrite
|
|
|
|
ENTRYPOINT ["/usr/bin/dendrite-demo-pinecone"]
|