aboutsummaryrefslogtreecommitdiff
path: root/build/docker/Dockerfile.component
blob: 1acf510fbaf57aa79dcea0080ea289d38d1f54ec (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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} $@