fix(backend): set uvicorn app-dir for src layout runtime
Some checks failed
CICD Start / Sanity and Base Decision (pull_request) Successful in 15s
CICD Start / Sanity and Base Decision (push) Failing after 14m56s

This commit is contained in:
copilotcoder
2026-07-04 09:15:23 -04:00
parent 6da60e6beb
commit 98058475cb
3 changed files with 5 additions and 3 deletions

View File

@@ -31,7 +31,7 @@ Excluded:
- Container build source: `Dockerfile.backend`.
- Runtime base image: `python:3.14-slim`.
- Runtime process: `uvicorn backend.main:app --host 0.0.0.0 --port 8000`.
- Runtime process: `uvicorn backend.main:app --app-dir /app/src --host 0.0.0.0 --port 8000`.
- Exposed runtime port: `8000`.
### Required Runtime Dependencies
@@ -68,7 +68,7 @@ The lockfile in `backend/uv.lock` is the dependency source of truth.
### Backend Runtime Checklist
- [ ] Runtime image built from `Dockerfile.backend`.
- [ ] Runtime process is uvicorn serving `backend.main:app` on `0.0.0.0:8000`.
- [ ] Runtime process is uvicorn serving `backend.main:app` with app dir `/app/src` on `0.0.0.0:8000`.
- [ ] `DATABASE_URL` is set in deployment runtime.
- [ ] `GET /health` behavior matches contract.
- [ ] Startup fails on runtime policy mismatch.