chore: update deployment config

This commit is contained in:
2026-07-06 18:36:11 +08:00
parent 0a12eb7f3b
commit 6bc2a5f8d7
7 changed files with 28 additions and 24 deletions
+1 -1
View File
@@ -28,4 +28,4 @@ RUN mkdir -p data static/images uploads
EXPOSE 5005
CMD ["conda", "run", "--no-capture-output", "-n", "demo", "python", "main.py"]
CMD ["conda", "run", "--no-capture-output", "-n", "demo", "gunicorn", "--bind", "0.0.0.0:5005", "--workers", "2", "--threads", "4", "--timeout", "120", "main:app"]