# Named for the Dockerfile beside it: Docker reads `.dockerignore` # before falling back to one at the root of the context, which is how the ignore # rules get to live next to the recipe they belong to instead of at the top of # the repository. # # 2-build-image.ps1 already hands docker a context extracted from `git archive`, # so the untracked heavyweights below are not there to exclude. They are listed # for the other way in — `docker build -f deploy/Dockerfile .` from a checkout — # where .venv alone can be several hundred megabytes. .git .venv .claude .idea .github .gitea .scratch docs # A module folder's tests travel with the folder, not into the image. One line # per folder, so a fourth module is a fourth line here. tests pipeline/tests auth/tests __pycache__ *.py[cod] *.egg-info .pytest_cache .ruff_cache .mypy_cache # Local state. The config and the database live in the server's volume, and # baking either into the image would ship one machine's data to another and # quietly make the image the source of truth for both. config.yaml *.db *.db-shm *.db-wal deploy Todo.md CLAUDE.md