fix(docker): persist CLI system state

This commit is contained in:
KokerZhou authored and digua committed 2026-07-22 09:59:50 +08:00
1 parent 383f0ec749
commit a0712f0b3a
4 files changed
+23 -23

No files matched your search

+3 -4
View File
@@ -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