# Build context for backend/Dockerfile and app/Dockerfile is the repo root, so this
# file decides what is even eligible to be copied into those images.

.git/
.gitignore
.gitignore.local
.claude/
.cursor/
.vscode/
.idea/

# Secrets are passed at runtime via compose `env_file` — never baked into a layer.
**/.env
**/.env.*
!**/.env.example

**/__pycache__/
**/*.py[cod]
**/*.egg-info/
.venv/
venv/
env/
.mypy_cache/
.pytest_cache/
.ruff_cache/

# Frontend has its own context (./frontend) and its own .dockerignore; nothing of it
# belongs in a Python image, and node_modules would dominate the context transfer.
frontend/

# Candidate CVs live on the bind mount, not inside an image.
backend/inbox/decoded_attachments/

# Alembic revision scripts stay out of images (gitignored; never ship to prod).
# Schema drift is applied filelessly at API boot when DB_AUTOGENERATE=true.
backend/migrations/versions/*.py
!backend/migrations/versions/.gitkeep

docs/
tests/
scripts/
tools/
*.md
*.log
tmp/
temp/
