# Keep the build context small and — more importantly — keep the host's # node_modules out of it. pnpm's store is a tree of symlinks into a # content-addressed directory on the host; copying that tree into an image # produces dangling links, and pnpm then decides the modules directory is # corrupt and asks to purge it. In a non-TTY build it cannot ask, so it aborts. node_modules **/node_modules # The image installs from the lockfile and builds from source; neither the # history nor prior build output belongs in it. .git .gitea **/dist apps/web/dist # Local state that must never be baked into an image. .env .env.* backups *.log # Test and tooling artefacts. test-results playwright-report **/*.tsbuildinfo