# Per-Dockerfile ignore, picked up by BuildKit ≥ 23.0 when this # Dockerfile is used (see https://docs.docker.com/build/concepts/context/#filename-and-location). # For older Docker daemons, the repo-root /.dockerignore is used # instead (it already excludes node_modules, .env*, logs/, etc., so # nothing sensitive would leak — this file is a size/speed win, not # a security requirement). # # The build context is the REPO ROOT. We whitelist only the paths # the Dockerfile actually COPYs. That keeps the transferred context # tiny (a few dozen KB instead of the whole repo) and makes builds # noticeably faster on slow disks / VPN uplinks. * # ─── Whitelist (paths the Dockerfile needs) ───────────────────────── !dect-relay-agent/package.json !dect-relay-agent/index.js !integrations/cisco-dect/** !integrations/cisco-mpp-phone/** !utils/httpDigestAuth.js # ─── Never-ship, even inside whitelisted trees ────────────────────── **/node_modules **/.env **/.env.* !**/.env.example **/*.log **/logs **/.git **/.DS_Store **/coverage