.dockerignore 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. # SEC_REVIEW F19: explicit allow/deny for the ui build context.
  2. # `Dockerfile` does `COPY . ./` for the runtime stage, so anything
  3. # not listed here is baked into the image.
  4. # Secrets — block any future `.env` / `.env.local` dropped in this
  5. # directory from silently shipping in the image. Compose loads `.env`
  6. # from the repo root, not from `ui/`, so nothing here is needed.
  7. .env
  8. .env.*
  9. # Version control
  10. .git
  11. .gitignore
  12. .gitattributes
  13. # Editor / IDE noise
  14. .idea/
  15. .vscode/
  16. *.swp
  17. *~
  18. .DS_Store
  19. # Tests and dev tooling — not needed at runtime, and `tests/` may hold
  20. # fixtures that double as LFI targets.
  21. tests/
  22. .phpunit.cache/
  23. .phpunit.result.cache
  24. .phpstan.cache/
  25. .php-cs-fixer.cache
  26. .php-cs-fixer.dist.php
  27. phpstan.neon
  28. phpunit.xml
  29. # Dependencies — the deps / assets stages install clean trees and
  30. # copy them in via `COPY --from=...`; leaving the host versions in
  31. # the context would let the subsequent `COPY . ./` clobber them.
  32. vendor/
  33. node_modules/
  34. # Project metadata and docs — not consumed by the runtime.
  35. CHANGELOG.md
  36. # Build artifacts that don't belong in the runtime image.
  37. .dockerignore
  38. Dockerfile
  39. # Claude Code session state
  40. .claude/