🔧 Use FastAPI entrypoint (#2360)

This commit is contained in:
Sebastián Ramírez
2026-06-26 17:57:03 +02:00
committed by GitHub
parent 6bc7fa47e3
commit 119e31fba2
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -42,4 +42,4 @@ RUN --mount=type=cache,target=/root/.cache/uv \
WORKDIR /app/backend/ WORKDIR /app/backend/
CMD ["fastapi", "run", "--workers", "4", "app/main.py"] CMD ["fastapi", "run", "--workers", "4"]
+3
View File
@@ -78,3 +78,6 @@ show_contexts = true
[tool.ty.terminal] [tool.ty.terminal]
error-on-warning = true error-on-warning = true
[tool.fastapi]
entrypoint = "app.main:app"