Upload Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -28,7 +28,7 @@ COPY . .
|
|
28 |
# 暴露端口(假设Flask应用运行在5000端口)
|
29 |
EXPOSE 8888
|
30 |
|
31 |
-
RUN chmod
|
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"]
|