mirror of
https://github.com/fastapi/full-stack-fastapi-template.git
synced 2026-11-03 12:29:42 +00:00
🔧 Use FastAPI entrypoint (#2360)
This commit is contained in:
committed by
GitHub
parent
6bc7fa47e3
commit
119e31fba2
+1
-1
@@ -42,4 +42,4 @@ RUN --mount=type=cache,target=/root/.cache/uv \
|
||||
|
||||
WORKDIR /app/backend/
|
||||
|
||||
CMD ["fastapi", "run", "--workers", "4", "app/main.py"]
|
||||
CMD ["fastapi", "run", "--workers", "4"]
|
||||
|
||||
@@ -78,3 +78,6 @@ show_contexts = true
|
||||
|
||||
[tool.ty.terminal]
|
||||
error-on-warning = true
|
||||
|
||||
[tool.fastapi]
|
||||
entrypoint = "app.main:app"
|
||||
|
||||
Reference in New Issue
Block a user