backend/Dockerfile builds the FastAPI application with Python 3.11, runs it as a non-root user, and exposes port 8000. The Durable Functions host and frontend run separately.
Build and run the API container
From the repository root:http://localhost:8000/health/live. This verifies that the API process responds; it does not verify Azure integrations or the refund workflow.
Boundaries
- Supply runtime configuration through the environment, never the image.
- Do not use
APP_ENV=localin a deployed environment. - Run Durable Functions separately for local workflow testing.
- Build the frontend independently with pnpm.