leowuming commited on
Commit
60f08e2
·
verified ·
1 Parent(s): 8ee6dd7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -170,7 +170,8 @@ USER anythingllm
170
  ENV NODE_ENV=production
171
  ENV ANYTHING_LLM_RUNTIME=docker
172
  ENV DEPLOYMENT_VERSION=1.8.5
173
-
 
174
  # Setup the healthcheck
175
  HEALTHCHECK --interval=1m --timeout=10s --start-period=1m \
176
  CMD /bin/bash /usr/local/bin/docker-healthcheck.sh || exit 1
 
170
  ENV NODE_ENV=production
171
  ENV ANYTHING_LLM_RUNTIME=docker
172
  ENV DEPLOYMENT_VERSION=1.8.5
173
+ # 在这里添加 STORAGE_DIR 环境变量
174
+ ENV STORAGE_DIR=/app/storage
175
  # Setup the healthcheck
176
  HEALTHCHECK --interval=1m --timeout=10s --start-period=1m \
177
  CMD /bin/bash /usr/local/bin/docker-healthcheck.sh || exit 1