What Railpack detects
Railpack inspects the repository and picks the build for FastAPI; most projects need no configuration. A Dockerfile in the repository always wins.
- requirements.txt / pyproject.toml with
fastapi - main.py exposing
app - .python-version
- Builder
- Railpack (default)
- Start command
- uvicorn main:app --host 0.0.0.0 --port $PORT
Derived by Railpack; override it in Settings → Deploy → Start command.

