> ## Documentation Index
> Fetch the complete documentation index at: https://docs.khanhng.com/llms.txt
> Use this file to discover all available pages before exploring further.

# 3.4 Run with Containers

The repository's `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:

```bash theme={null}
docker build -t decisionlane-api:local backend
docker run --rm -p 8000:8000 \
  --env-file backend/.env \
  decisionlane-api:local
```

Check `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=local` in a deployed environment.
* Run Durable Functions separately for local workflow testing.
* Build the frontend independently with pnpm.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.