# Build context is the repository root (see deploy/J621-Backend and
# deploy/J621-Frontend). Keep the context small and, more importantly, keep
# secrets and runtime data out of the images.

# Version control / tooling
.git
.gitignore
.dockerignore

# Python: the dev virtualenv, caches, and anything generated at runtime
backend/venv/
**/__pycache__/
**/*.py[cod]
backend/db.sqlite3
backend/logs/
backend/staticfiles/

# Secrets and media: the .env holds SECRET_KEY and DB passwords, media/ is
# the actual library. The deploy composes mount these at runtime instead.
backend/.env
backend/.env.*
backend/media/

# Frontend build artefacts (npm ci installs fresh from the lockfile)
frontend/node_modules/
frontend/dist/

# Deploy runtime state and env
deploy/.env
deploy/.env.*
deploy/data/
deploy/tailscale-state/

# Misc
*.log
