diff --git a/docker/Dockerfile b/docker/Dockerfile index 07ad1e9..b112f92 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -6,4 +6,4 @@ RUN pip install --no-cache-dir -r requirements.txt # 禁用缓存减小体积 COPY . . EXPOSE 5000 USER appuser # 切换非 root 用户 -CMD ["gunicorn", "app:app"] \ No newline at end of file +CMD ["python main.py"] \ No newline at end of file