Two-stage build (uv builder + python:3.12-slim runtime) with non-root user (UID 1001), no dev deps, layer-cache-optimised dep install, and graceful SIGTERM shutdown. Verified by api/tests/build/verify_production_image.sh covering build, health endpoint, non-root, stdout logging, secret-free layers, missing-env-var exit, and dep-layer cache hit. All 102 integration tests still pass; shellcheck clean. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
157 B
Plaintext
18 lines
157 B
Plaintext
.git/
|
|
.venv/
|
|
venv/
|
|
__pycache__/
|
|
*.pyc
|
|
.pytest_cache/
|
|
.ruff_cache/
|
|
.coverage
|
|
htmlcov/
|
|
*.egg-info/
|
|
dist/
|
|
.env
|
|
.env.*
|
|
!.env.example
|
|
tests/
|
|
alembic/
|
|
alembic.ini
|