Problem Statement
Deploy docs target Vercel. There's no Dockerfile, which prevents Kubernetes / Cloud Run / ECS deployment.
Acceptance Criteria
- A multi-stage
Dockerfile producing node:20-slim standalone image
- Build outputs to
next.config.ts output: 'standalone'
- Run on port 3000; non-root user
- Documented in
docs/deployment.md
Implementation Notes
Enable output: 'standalone' in next.config.ts. Use multi-stage with pnpm install for reproducible cache.
Files Likely Affected
Dockerfile (new)
next.config.ts
docs/deployment.md
Difficulty / Effort
- Difficulty: Moderate
- Effort: T-Shirt M
Labels
ci-cd, priority:medium, area:infrastructure
Problem Statement
Deploy docs target Vercel. There's no Dockerfile, which prevents Kubernetes / Cloud Run / ECS deployment.
Acceptance Criteria
Dockerfileproducingnode:20-slimstandalone imagenext.config.tsoutput: 'standalone'docs/deployment.mdImplementation Notes
Enable
output: 'standalone'innext.config.ts. Use multi-stage withpnpm installfor reproducible cache.Files Likely Affected
Dockerfile(new)next.config.tsdocs/deployment.mdDifficulty / Effort
Labels
ci-cd,priority:medium,area:infrastructure