This commit is contained in:
parent
f1a995c68a
commit
463fa2ae38
|
@ -19,4 +19,4 @@ RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com
|
||||||
EXPOSE 5000
|
EXPOSE 5000
|
||||||
|
|
||||||
# 启动命令(使用 Gunicorn 替代 Flask 开发服务器)
|
# 启动命令(使用 Gunicorn 替代 Flask 开发服务器)
|
||||||
#CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "--timeout", "300", "app:app"]
|
CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "--timeout", "300", "app:app"]
|
Loading…
Reference in New Issue