diff --git a/Dockerfile b/Dockerfile index 197b6cac..db5b639c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -64,7 +64,7 @@ RUN apk add --virtual .build-deps \ COPY . /opt/mautrix-telegram RUN apk add git && pip3 install .[speedups,hq_thumbnails,metrics,e2be] && apk del git \ # This doesn't make the image smaller, but it's needed so that the `version` command works properly - && rm -rf mautrix_telegram + && cp mautrix_telegram/example-config.yaml . && rm -rf mautrix_telegram VOLUME /data ENV UID=1337 GID=1337 \ diff --git a/docker-run.sh b/docker-run.sh index 86ad6c3b..a0e9c767 100755 --- a/docker-run.sh +++ b/docker-run.sh @@ -15,7 +15,7 @@ if [ -f /data/mx-state.json ]; then fi if [ ! -f /data/config.yaml ]; then - cp mautrix_telegram/example-config.yaml /data/config.yaml + cp example-config.yaml /data/config.yaml echo "Didn't find a config file." echo "Copied default config file to /data/config.yaml" echo "Modify that config file to your liking."