Files
goodgo-platform/.dockerignore
Ho Ngoc Hai b84dfd5cad
Some checks failed
CI / Lint → Typecheck → Test → Build (22) (push) Failing after 11s
CI / E2E Tests (push) Has been skipped
Deploy / Build API Image (push) Failing after 23s
Deploy / Build Web Image (push) Failing after 12s
Deploy / Build AI Services Image (push) Failing after 10s
E2E Tests / Playwright E2E (push) Failing after 12s
Deploy / Deploy to Staging (push) Has been skipped
Deploy / Smoke Test Staging (push) Has been skipped
Deploy / Deploy to Production (push) Has been skipped
Deploy / Smoke Test Production (push) Has been skipped
Deploy / Rollback Staging (push) Has been skipped
Deploy / Rollback Production (push) Has been skipped
fix: Docker build errors — Prisma generate order, .dockerignore multi-service
- Dockerfile: move prisma generate BEFORE nest build (fixes TS2305 PropertyType)
- .dockerignore: remove apps/web + libs/ai-services exclusions (needed by Kaniko)
- CI: add pnpm db:generate step before lint/typecheck/build

Co-Authored-By: Claude Opus 4 (1M context) <noreply@anthropic.com>
2026-04-13 15:31:08 +07:00

68 lines
1.1 KiB
Plaintext

# =============================================================================
# .dockerignore — shared across ALL Dockerfiles (api, web, ai-services)
# All 3 Dockerfiles build from repo root context, so do NOT exclude
# apps/web or libs/ai-services here.
# =============================================================================
# Build outputs & caches (rebuilt inside Docker)
node_modules
.next
dist
*.tsbuildinfo
.turbo
.cache
.nx
.eslintcache
coverage
# Version control
.git
.github
.husky
.gitignore
# Documentation, tests, monitoring (not needed in any build)
docs
e2e
load-tests
monitoring
playwright-report
playwright.config.ts
CHANGELOG.md
CONTRIBUTING.md
SEED_GENERATION_SCRIPT.ts
# Environment and secrets (NEVER ship into images)
.env
.env.ci
.env.test
!.env.example
# IDE and editor
.vscode
.idea
*.swp
*.swo
# OS files
.DS_Store
Thumbs.db
# Docker / infra files (avoid recursive context)
docker-compose*.yml
Dockerfile*
infra
# Dev tools & scripts (not needed at build time)
scripts
*.log
# Python caches (rebuilt inside AI container)
__pycache__
*.pyc
.venv
# Agent / Claude configs
.claude
agents