metaads-pro/next.config.ts
Marcio Bevervanso f2d3f34bbf build: Dockerfile multi-stage + Next standalone (deploy mais rápido)
Substitui o build via Nixpacks (lento, sem cache de deps) por um
Dockerfile multi-stage com output: 'standalone'. O stage de deps fica em
cache e só reinstala quando package*.json muda; imagem final enxuta roda
node server.js. Trocar o build pack do Coolify para Dockerfile.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-16 12:27:27 -03:00

9 lines
282 B
TypeScript

import type { NextConfig } from "next";
const nextConfig: NextConfig = {
// Gera .next/standalone com só o necessário — imagem Docker bem menor e
// deploy mais rápido (não precisa instalar node_modules no runtime).
output: 'standalone',
};
export default nextConfig;