mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-23 14:51:56 -06:00
13 lines
246 B
Docker
13 lines
246 B
Docker
|
FROM matrixdotorg/dendrite:latest AS base
|
||
|
|
||
|
FROM alpine:latest
|
||
|
|
||
|
ARG component=monolith
|
||
|
ENV entrypoint=${component}
|
||
|
|
||
|
COPY --from=base /build/bin/${component} /usr/bin
|
||
|
|
||
|
VOLUME /etc/dendrite
|
||
|
WORKDIR /etc/dendrite
|
||
|
|
||
|
ENTRYPOINT /usr/bin/${entrypoint} $@
|