From 04dabcb9d803ba84461796535934994357744184 Mon Sep 17 00:00:00 2001 From: xnaas <8271327+xnaas@users.noreply.github.com> Date: Sat, 23 May 2020 22:30:25 -0500 Subject: [PATCH] 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. --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2c7682f1..7beb1a44 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"]