- 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>
53 lines
447 B
Plaintext
53 lines
447 B
Plaintext
# dependencies
|
|
node_modules
|
|
.pnp
|
|
.pnp.js
|
|
|
|
# testing
|
|
coverage
|
|
|
|
# next.js
|
|
.next/
|
|
out/
|
|
build
|
|
dist
|
|
|
|
# misc
|
|
.DS_Store
|
|
*.pem
|
|
|
|
# debug
|
|
npm-debug.log*
|
|
yarn-debug.log*
|
|
yarn-error.log*
|
|
.pnpm-debug.log*
|
|
|
|
# local env files
|
|
.env
|
|
.env.local
|
|
.env.development.local
|
|
.env.test.local
|
|
.env.production.local
|
|
|
|
# vercel
|
|
.vercel
|
|
|
|
# typescript
|
|
*.tsbuildinfo
|
|
next-env.d.ts
|
|
|
|
# git
|
|
.git
|
|
.gitignore
|
|
|
|
# IDE
|
|
.vscode
|
|
.idea
|
|
|
|
# docker
|
|
Dockerfile
|
|
.dockerignore
|
|
|
|
# README
|
|
README.md
|