- 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>
8 lines
129 B
TypeScript
8 lines
129 B
TypeScript
import type { NextConfig } from "next";
|
|
|
|
const nextConfig: NextConfig = {
|
|
output: 'standalone',
|
|
};
|
|
|
|
export default nextConfig;
|