gitdeem commited on
Commit
354a855
·
verified ·
1 Parent(s): f5d52f6

Upload Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -28,5 +28,7 @@ COPY . .
28
  # 暴露端口(假设Flask应用运行在5000端口)
29
  EXPOSE 8888
30
 
 
 
31
  # 使用gunicorn启动应用
32
  CMD ["gunicorn", "--bind", "0.0.0.0:8888", "--workers", "4", "web_server:app"]
 
28
  # 暴露端口(假设Flask应用运行在5000端口)
29
  EXPOSE 8888
30
 
31
+ RUN chmod 777 /app/flask_app.log
32
+
33
  # 使用gunicorn启动应用
34
  CMD ["gunicorn", "--bind", "0.0.0.0:8888", "--workers", "4", "web_server:app"]