This commit is contained in:
renzhiyuan 2025-08-05 10:47:13 +08:00
parent 964337dccb
commit 9e3b938db7
1 changed files with 1 additions and 2 deletions

View File

@ -19,5 +19,4 @@ RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com
EXPOSE 5000
# 启动命令(使用 Gunicorn 替代 Flask 开发服务器)
CMD ["waitress-serve", "--host=", "0.0.0.0:5000", "--port=", "5000", "app:app"]
#CMD ["flask ","run ", "--host=", "0.0.0.0:5000", "--port=", "5000", "app:app"]
CMD ["waitress-serve", "--host=0.0.0.0", "--port=5000", "app:app"]