diff --git a/Dockerfile b/Dockerfile index 2e0bb6f..4c14989 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,6 +30,7 @@ ENV S3_PREFIX=$S3_PREFIX ENV DATABASE_URI=$DATABASE_URI ENV PAYLOAD_SECRET=$PAYLOAD_SECRET ENV SKIP_RUNTIME_ENV_VALIDATION=true +ENV NEXT_BUILD_WORKERS=1 ENV CI=true # Copy manifest files specifically for better layer caching @@ -84,4 +85,4 @@ USER nextjs # Start from the app directory to ensure references solve correctly # In Standalone mode, Next.js expects node_modules and public relative to the server.js WORKDIR /app -CMD ["node", "apps/web/server.js"] +CMD ["node", "server.js"]