Update Dockerfile

This will preserve setups that were configured to run the old way without breaking them and new configs can be setup "correctly" without issue.
This commit is contained in:
xnaas
2020-05-23 22:30:25 -05:00
committed by GitHub
parent 3a1b83bbe7
commit 04dabcb9d8

View File

@@ -10,4 +10,7 @@ RUN apk update && apk add go git gcc musl-dev \
FROM alpine:edge
RUN apk --no-cache add ca-certificates mailcap
COPY --from=builder /bin/matterbridge /bin/matterbridge
RUN mkdir /conf
RUN touch /conf/matterbridge.toml
RUN ln -sf /matterbridge.toml /conf/matterbridge.toml
ENTRYPOINT ["/bin/matterbridge", "-conf", "/conf/matterbridge.toml"]