mirror of
https://github.com/matrix-org/dendrite.git
synced 2024-11-30 10:11:56 -06:00
24d8df664c
* Fix #897 and shuffle directory around * Update find-lint * goimports Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
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} $@ |