|
|
837e72ec40
|
Phase 5: Docker e Deploy Config
- Dockerfile multi-stage:
* Build com pnpm + Prisma generate
* Production com Node.js 22 alpine
* Non-root user (nextjs:nodejs)
* Standalone output
- next.config.ts: output standalone
- .dockerignore: excludes node_modules, .env, .next, etc
Ready para deploy EasyPanel com:
- Port 3000
- ENV: DATABASE_URL, NODE_ENV=production
- Build: Nixpacks ou Dockerfile
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
|
2026-02-13 18:02:14 +00:00 |
|