mirror of
https://github.com/maubot/maubot.git
synced 2024-10-01 01:06:10 -04:00
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 --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"]
|
||||
|
@ -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"]
|
||||
|
Loading…
Reference in New Issue
Block a user