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

Upload Dockerfile

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