From 2696e55163feffa1a382eb56bb8e9bb833a8ab45 Mon Sep 17 00:00:00 2001 From: renzhiyuan <465386466@qq.com> Date: Tue, 5 Aug 2025 10:35:13 +0800 Subject: [PATCH] 1 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3b0e486..490241d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,4 +19,4 @@ RUN pip install --no-cache-dir -r requirements.txt -i https://mirrors.aliyun.com EXPOSE 5000 # 启动命令(使用 Gunicorn 替代 Flask 开发服务器) -CMD ["gunicorn", "--bind", "0.0.0.0:5000", "--workers", "4", "--timeout", "300", "app:app"] \ No newline at end of file +CMD ["waitress-serve", "--host", "0.0.0.0:5000", "--port", "5000", "app:app"] \ No newline at end of file