# The build context is the repo root. The build installs node_modules and writes .next itself, so local
# copies would only break the cache.
**/node_modules
**/.next
**/.nx
**/dist
**/coverage
**/*.tsbuildinfo
**/next-env.d.ts
**/*.log
.git
.github
.vscode
.idea
.claude
docs
graft
server-proxy.js

# Deploy files: changing them never rebuilds an image. .deploy/ holds each app's server secrets.
.deploy
.dockerignore
Dockerfile
tools/deploy.sh
tools/rollback.sh

# Generated by the next.config.ts plugins during next build.
apps/*/public/fonts
apps/*/public/icons/symbol-defs.svg
apps/*/public/sw.js

# Keys and certificates (next dev --experimental-https writes apps/<app>/certificates/).
**/*.pem
**/*.key
**/certificates

# Env files: none. tools/deploy.sh hands the app's env to next build as a bind mount, so no env file, a
# developer's local .env included, reaches a layer or the image.
**/.env*
