# Named for the Dockerfile beside it. Docker reads `.dockerignore` # before falling back to one at the root of the context, but wslc hands the # Dockerfile to the builder on stdin, which leaves only the root one: step 1 # (1-test-and-promote.sh) copies this file to `.dockerignore` at the root of # the tree it exports, so the rules still live next to the recipe here. # # That tree is a `git archive` of the production commit, 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 llm/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