Update CMD to run uvicorn with --no-sync option (#2100)

This commit is contained in:
JeffJiang 2026-04-10 23:00:00 +08:00 committed by GitHub
parent 718dddde75
commit fe2595a05c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -84,4 +84,4 @@ COPY --from=builder /app/backend ./backend
EXPOSE 8001 2024 EXPOSE 8001 2024
# Default command (can be overridden in docker-compose) # Default command (can be overridden in docker-compose)
CMD ["sh", "-c", "cd backend && PYTHONPATH=. uv run uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001"] CMD ["sh", "-c", "cd backend && PYTHONPATH=. uv run --no-sync uvicorn app.gateway.app:app --host 0.0.0.0 --port 8001"]