refactor: Web 服务器从 gunicorn 迁移到 uvicorn
This commit is contained in:
+1
-1
@@ -12,4 +12,4 @@ COPY backend/alembic ./backend/alembic
|
||||
|
||||
ENV PYTHONPATH=/app/backend/src
|
||||
|
||||
CMD ["uv", "run", "gunicorn", "backend.src.app:app", "--bind", "0.0.0.0:8000", "--workers", "2"]
|
||||
CMD ["uv", "run", "uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "2"]
|
||||
|
||||
Reference in New Issue
Block a user