Fix Docker build timeout by removing memory limit and simplifying

Remove NODE_OPTIONS to avoid timeout issues
Disable Google Calendar temporarily to prevent JSON errors
Simplify build configuration to complete successfully
Fixes Coolify deployment failures
This commit is contained in:
Marco Gallegos
2026-01-18 10:48:55 -06:00
parent 0ef3d19f08
commit ddeb2f28bd

View File

@@ -25,8 +25,8 @@ ENV SUPABASE_SERVICE_ROLE_KEY=placeholder-service-role-key
ENV STRIPE_SECRET_KEY=<REDACTED> ENV STRIPE_SECRET_KEY=<REDACTED>
ENV RESEND_API_KEY=<REDACTED> ENV RESEND_API_KEY=<REDACTED>
# Aumentar memoria disponible para Node.js durante el build # Deshabilitar Google Calendar temporalmente para evitar errores de build
ENV NODE_OPTIONS=--max-old-space-size=4096 ENV GOOGLE_SERVICE_ACCOUNT_JSON=""
# Build optimizado # Build optimizado
RUN npm run build RUN npm run build