singularity-forge/.dockerignore
Tom Boucher 67f47bea06 feat(docker): add official Docker sandbox template for isolated GSD auto mode (#2360)
Ship a Dockerfile.sandbox, docker-compose.yml, .env.example, and docs so
users can run GSD auto mode inside an isolated Docker sandbox (MicroVM)
without risk to the host filesystem, SSH keys, or other projects.

- Dockerfile.sandbox: Node 22 base, gsd-pi pre-installed, non-root user, port 3000
- docker-compose.yml: workspace volume mount, persistent .gsd state, env_file support
- .env.example: template for LLM provider keys and optional tool credentials
- docker/README.md: setup guide covering sandbox CLI, Compose, two-terminal workflow,
  credential injection, and network allowlisting
- .dockerignore: project-root ignore file for efficient Docker builds
- src/tests/docker-template.test.ts: 13 structural tests verifying all template files

Fixes #1544

Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-24 13:57:59 -06:00

53 lines
662 B
Text

# ── Build artifacts ──
dist/
build/
coverage/
*.tsbuildinfo
# ── Dependencies ──
node_modules/
packages/*/node_modules/
# ── Environment & secrets ──
.env
.env.*
!.env.example
.gsd/
# ── IDE & OS ──
.idea/
.vscode/
*.code-workspace
.DS_Store
Thumbs.db
# ── Git ──
.git/
.github/
# ── Development files ──
.claude/
.plans/
.artifacts/
.bg-shell/
.bg_shell
*.log
*.swp
*.swo
*~
tmp/
.cache/
# ── Native build artifacts ──
native/
target/
# ── Test fixtures ──
tests/
# ── Lock files (npm is canonical via package-lock.json) ──
pnpm-lock.yaml
bun.lock
# ── Tarballs ──
*.tgz