diff --git a/Dockerfile b/Dockerfile index a5cf743..ca53969 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,6 +7,7 @@ FROM node:22-bookworm-slim AS builder WORKDIR /app COPY --from=deps /app/node_modules ./node_modules COPY . . +ENV NODE_OPTIONS="--max-old-space-size=4096" RUN npm run build FROM node:22-bookworm-slim AS runner diff --git a/next.config.ts b/next.config.ts index 68a6c64..4437880 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", + staticPageGenerationTimeout: 120, }; export default nextConfig;