web-production-saas-starter/next_b2b_starter/.dockerignore
2025-12-16 18:54:41 +04:00

95 lines
1.3 KiB
Text

# =============================================================================
# Frontend - Docker Ignore Configuration
# =============================================================================
# Excludes unnecessary files from Docker build context
# Reduces build time, image size, and improves security
# =============================================================================
# Dependencies
node_modules
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
# Next.js build output
.next/
out/
build/
dist/
# Testing
coverage/
.nyc_output/
*.test.js
*.test.ts
*.test.tsx
*.spec.js
*.spec.ts
*.spec.tsx
__tests__/
__mocks__/
# Environment files (security)
.env
.env*.local
.env.development
.env.test
.env.production.local
.env.development.local
# Git
.git/
.gitignore
.gitattributes
# IDE and Editor files
.vscode/
.idea/
*.swp
*.swo
*~
.DS_Store
# Documentation and non-essential files
*.md
!README.md
docs/
.github/
# Deployment files (keep only what's needed)
deployment/
# Note: deployments/ folder is kept for .env templates
# Logs
logs/
*.log
# Misc
.cache/
.temp/
.tmp/
*.pid
*.seed
*.pid.lock
# TypeScript
*.tsbuildinfo
# Linting
.eslintcache
# Testing
.jest/
playwright-report/
test-results/
# Scripts (if not needed in production)
scripts/
# Storybook
.storybook/
storybook-static/
# Turbo
.turbo/