修改生产部署
This commit is contained in:
@@ -19,4 +19,4 @@ RUN apt-get update && apt-get install -y \
|
|||||||
RUN uv sync --frozen --no-cache
|
RUN uv sync --frozen --no-cache
|
||||||
|
|
||||||
# Run the application.
|
# Run the application.
|
||||||
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "4"]
|
CMD ["/app/.venv/bin/uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000", "--workers", "4"]
|
||||||
|
|||||||
Reference in New Issue
Block a user