4
0
mirror of https://github.com/1f349/dendrite.git synced 2025-03-09 21:53:09 +00:00
dendrite/build/docker/hub/Dockerfile.component
Kegsay 24d8df664c
Fix and shuffle directory around ()
* Fix  and shuffle directory around

* Update find-lint

* goimports

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
2020-05-21 14:40:13 +01:00

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} $@