feat(deploy): add production Dockerfiles and CI/CD pipeline

- Multi-stage Dockerfile for apps/api (NestJS) and apps/web (Next.js standalone)
- Production docker-compose.prod.yml with all services, health checks, and security
- Real deploy.yml pipeline: build → push to GHCR → deploy staging/production
- .dockerignore for optimized build context
- Enable Next.js standalone output mode

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-08 04:03:27 +07:00
parent a53c1f016f
commit 7c9f682046
6 changed files with 560 additions and 35 deletions

17
.dockerignore Normal file
View File

@@ -0,0 +1,17 @@
node_modules
.next
dist
*.tsbuildinfo
.git
.github
.husky
docs
e2e
playwright-report
monitoring
*.md
!README.md
.env*
.eslintcache
coverage
.turbo