mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-27 08:41:57 -06:00
3fdb045116
* Initial Docker Hub test * Change upstream from for now * Working polylith setup and build tools * Some readme and other bits * Remove the readme for now * Add readme, rename a couple of things * COPY instead of ADD * Simplify component builds * Fix the docker-compose things * Build the base image again * Update readme, add .dockerignore * Indentation * Whitespace * Update images-push.sh * Update images-push.sh
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} $@ |