From ad93d8347e81fa9081f4a8f5cedc3d23aaf2140f Mon Sep 17 00:00:00 2001 From: Tulir Asokan Date: Wed, 26 Feb 2020 00:44:54 +0200 Subject: [PATCH] Add XDG_CONFIG_HOME to docker image so maubot-cli.json is stored in /data --- Dockerfile | 2 +- Dockerfile.ci | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 02e222c..9a9e023 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,7 +34,7 @@ RUN apk add --no-cache --virtual .build-deps \ COPY . /opt/maubot COPY --from=frontend-builder /frontend/build /opt/maubot/frontend -ENV UID=1337 GID=1337 +ENV UID=1337 GID=1337 XDG_CONFIG_HOME=/data VOLUME /data CMD ["/opt/maubot/docker/run.sh"] diff --git a/Dockerfile.ci b/Dockerfile.ci index 2aac70d..58a91f2 100644 --- a/Dockerfile.ci +++ b/Dockerfile.ci @@ -28,7 +28,7 @@ RUN apk add --no-cache --virtual .build-deps \ # TODO remove pillow, magic and feedparser when maubot supports installing dependencies COPY . /opt/maubot -ENV UID=1337 GID=1337 +ENV UID=1337 GID=1337 XDG_CONFIG_HOME=/data VOLUME /data CMD ["/opt/maubot/docker/run.sh"]