collabSupport/dect-relay-agent/Dockerfile.dockerignore
jmcqueen f7953b8eb5 Add MPP desk phone diagnostics follow-up to /phonestatus via relay.
Wire CP-78xx probe discovery, relay phone-probe commands, and a chat follow-up message so store desk phones get registration, switch, and provisioning detail alongside DECT and WAN diagnostics.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-28 18:01:01 -04:00

31 lines
1.1 KiB
Docker

# 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