mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-18 04:13:10 -06:00
Remove old run scripts Add environment parsing Add Dockerfiles Add docker-compose for easy building Signed-off-by: feffe <feffe@feffe.dev>
12 lines
335 B
Docker
12 lines
335 B
Docker
FROM dendrite-build AS build
|
|
##############
|
|
## Sync API ##
|
|
##############
|
|
FROM scratch AS sync-api
|
|
EXPOSE 7773
|
|
ENV DENDRITE_CONFIG_FILE="dendrite.yaml"
|
|
WORKDIR /dendrite
|
|
COPY --from=build /build/bin/dendrite-sync-api-server /bin/sync-api
|
|
COPY --from=build /build/docker/dendrite-docker.yml ./dendrite.yaml
|
|
ENTRYPOINT ["/bin/sync-api"]
|