mirror of
https://github.com/1f349/dendrite.git
synced 2024-11-22 03:31:41 +00:00
92982a402f
* Separate Docker images, rather than tags * Allow specifying tag to build/push/pull * Include goose in Docker builds
14 lines
289 B
Docker
14 lines
289 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
|
|
COPY --from=base /build/bin/goose /usr/bin
|
|
|
|
VOLUME /etc/dendrite
|
|
WORKDIR /etc/dendrite
|
|
|
|
ENTRYPOINT /usr/bin/${entrypoint} $@ |