mirror of
https://github.com/matrix-org/dendrite.git
synced 2025-12-17 20:03: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
377 B
Docker
12 lines
377 B
Docker
FROM dendrite-build AS build
|
|
####################
|
|
## Federation API ##
|
|
####################
|
|
FROM scratch AS federation-api
|
|
EXPOSE 7772
|
|
ENV DENDRITE_CONFIG_FILE="dendrite.yaml"
|
|
WORKDIR /dendrite
|
|
COPY --from=build /build/bin/dendrite-federation-api-server /bin/federation-api
|
|
COPY --from=build /build/docker/dendrite-docker.yml ./dendrite.yaml
|
|
ENTRYPOINT ["/bin/federation-api"]
|