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
391 B
Docker
12 lines
391 B
Docker
FROM dendrite-build AS build
|
|
######################
|
|
## Public Rooms API ##
|
|
######################
|
|
FROM scratch AS public-rooms-api
|
|
EXPOSE 7775
|
|
ENV DENDRITE_CONFIG_FILE="dendrite.yaml"
|
|
WORKDIR /dendrite
|
|
COPY --from=build /build/bin/dendrite-public-rooms-api-server /bin/public-rooms-api
|
|
COPY --from=build /build/docker/dendrite-docker.yml ./dendrite.yaml
|
|
ENTRYPOINT ["/bin/public-rooms-api"]
|