ffreemt commited on
Commit
af536bd
·
1 Parent(s): 69c8bc6

Update app_port 5005 data dir

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -8,8 +8,11 @@ ENV PIP_ROOT_USER_ACTION=ignore \
8
  WORKDIR /app
9
 
10
  RUN TZ=Asia/Shanghai > /etc/timezone && \
 
 
11
  pip install --no-cache-dir -r requirements.txt
12
 
13
  EXPOSE 5005
14
 
15
  CMD ["python", "app.py"]
 
 
8
  WORKDIR /app
9
 
10
  RUN TZ=Asia/Shanghai > /etc/timezone && \
11
+ mkdir -p /app/data \
12
+ chmod -R 777 /app/data
13
  pip install --no-cache-dir -r requirements.txt
14
 
15
  EXPOSE 5005
16
 
17
  CMD ["python", "app.py"]
18
+