2026-09-03 08:13:10 +00:00
|
|
|
# Keep build contexts small and secrets out of images.
|
|
|
|
|
.git/
|
|
|
|
|
.github/
|
|
|
|
|
docs/
|
|
|
|
|
**/node_modules/
|
|
|
|
|
**/dist/
|
|
|
|
|
**/__pycache__/
|
|
|
|
|
**/*.py[cod]
|
|
|
|
|
**/.venv/
|
|
|
|
|
**/venv/
|
|
|
|
|
.env
|
|
|
|
|
.env.*
|
|
|
|
|
!.env.example
|
|
|
|
|
**/staticfiles/
|
|
|
|
|
**/htmlcov/
|
|
|
|
|
**/.coverage
|
|
|
|
|
**/.pytest_cache/
|
|
|
|
|
**/.mypy_cache/
|
|
|
|
|
**/.ruff_cache/
|
2026-09-04 12:52:21 +03:30
|
|
|
# backend/tests/ is intentionally NOT excluded: the `dev` build stage
|
|
|
|
|
# needs it in the build context to run the suite in CI/locally. The
|
|
|
|
|
# `runtime` stage never copies it in (see backend/Dockerfile), so the
|
|
|
|
|
# production image stays test-free regardless.
|
2026-09-03 08:13:10 +00:00
|
|
|
*.log
|
|
|
|
|
*.zip
|