Add XDG_CONFIG_HOME to docker image so maubot-cli.json is stored in /data
This commit is contained in:
parent
9a777ee451
commit
ad93d8347e
@ -34,7 +34,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||||||
|
|
||||||
COPY . /opt/maubot
|
COPY . /opt/maubot
|
||||||
COPY --from=frontend-builder /frontend/build /opt/maubot/frontend
|
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
|
VOLUME /data
|
||||||
|
|
||||||
CMD ["/opt/maubot/docker/run.sh"]
|
CMD ["/opt/maubot/docker/run.sh"]
|
||||||
|
@ -28,7 +28,7 @@ RUN apk add --no-cache --virtual .build-deps \
|
|||||||
# TODO remove pillow, magic and feedparser when maubot supports installing dependencies
|
# TODO remove pillow, magic and feedparser when maubot supports installing dependencies
|
||||||
|
|
||||||
COPY . /opt/maubot
|
COPY . /opt/maubot
|
||||||
ENV UID=1337 GID=1337
|
ENV UID=1337 GID=1337 XDG_CONFIG_HOME=/data
|
||||||
VOLUME /data
|
VOLUME /data
|
||||||
|
|
||||||
CMD ["/opt/maubot/docker/run.sh"]
|
CMD ["/opt/maubot/docker/run.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user