2020-05-21 07:02:28 -05:00
|
|
|
FROM matrixdotorg/dendrite:latest AS base
|
|
|
|
|
|
|
|
FROM alpine:latest
|
|
|
|
|
|
|
|
ARG component=monolith
|
|
|
|
ENV entrypoint=${component}
|
|
|
|
|
|
|
|
COPY --from=base /build/bin/${component} /usr/bin
|
2020-10-20 05:34:22 -05:00
|
|
|
COPY --from=base /build/bin/goose /usr/bin
|
2020-05-21 07:02:28 -05:00
|
|
|
|
|
|
|
VOLUME /etc/dendrite
|
|
|
|
WORKDIR /etc/dendrite
|
|
|
|
|
|
|
|
ENTRYPOINT /usr/bin/${entrypoint} $@
|