# 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/ # 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. *.log *.zip