fix: upload limits and timeouts
Deploy to VPS / deploy (push) Has been cancelled

This commit is contained in:
2026-04-08 11:26:46 -05:00
parent 3c20ce5c37
commit cff3dc44be
+7 -7
View File
@@ -1,19 +1,19 @@
import createNextIntlPlugin from 'next-intl/plugin'; import createNextIntlPlugin from 'next-intl/plugin';
// Le indicamos dónde estará nuestro archivo principal de configuración
const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts'); const withNextIntl = createNextIntlPlugin('./src/i18n/request.ts');
/** @type {import('next').NextConfig} */
const nextConfig = { const nextConfig = {
// Esta línea es la magia para Docker: empaqueta solo lo necesario
output: "standalone" as const, output: "standalone" as const,
images: { images: {
qualities: [75, 90, 100], // 🔥 Agrega esto qualities: [75, 90, 100],
}, },
// Opcional, pero recomendado para mantener un código ultra limpio
reactStrictMode: true, reactStrictMode: true,
serverExternalPackages: ['nodemailer'],
experimental: {
serverActions: {
bodySizeLimit: '500mb',
},
},
}; };
// Envolvemos la configuración con el plugin de internacionalización
export default withNextIntl(nextConfig); export default withNextIntl(nextConfig);