mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
fix(docker): persist CLI system state
This commit is contained in:
1 parent
383f0ec749
commit
a0712f0b3a
4 files changed
+23
-23
No files matched your search
@@ -12,11 +12,10 @@ RUN test -n "$CHATLAB_VERSION" \
|
||||
&& apt-get purge --yes --auto-remove g++ make python3 \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
ENV CHATLAB_DATA_DIR=/data
|
||||
WORKDIR /home/node
|
||||
|
||||
RUN install -d -o node -g node /data
|
||||
|
||||
WORKDIR /data
|
||||
RUN mkdir -p .chatlab \
|
||||
&& chown node:node .chatlab
|
||||
|
||||
USER node
|
||||
|
||||
|
||||
Reference in new issue
Block a user