# Exclude everything that isn't strictly needed to build or run the dev images.
# The dev Dockerfiles COPY . /app, so without this the image would bloat with
# docs, scripts, git history, etc.

# Build artifacts and caches (mounted as named volumes at runtime)
.gradle
backend/build
frontend/dist
frontend/coverage
frontend/node_modules
backend/.gradle

# Test outputs
**/build/test-results
**/build/reports
**/coverage
**/.pytest_cache
frontend/playwright-report
frontend/test-results

# Local config and secrets
.env
.env.*
!.env.example
**/application-local.yml

# VCS and editor state
.git
.gitignore
.gitattributes
.github
.forgejo
.idea
.vscode
*.iml
.DS_Store

# Documentation (not needed at runtime)
README.md
REQUIREMENTS.md
AGENTS.md
CODING_GUIDELINES.md
docs/

# Ops scripts (not needed at runtime)
scripts/

# Test source dirs that aren't built into runtime artifacts
frontend/src/__tests__
backend/src/test

# Docker-related metadata (not needed inside the running image)
Dockerfile*
.dockerignore
docker-compose*.yml
docker/

# Misc
*.log
logs/
tmp/
*.bak
*.tmp