diff --git a/docker/Dockerfile.ui b/docker/Dockerfile.ui index b0f3aa1a4..7a156a3bb 100644 --- a/docker/Dockerfile.ui +++ b/docker/Dockerfile.ui @@ -24,7 +24,7 @@ ENV NEXT_TELEMETRY_DISABLED 1 # If using npm comment out above and use below instead ENV API_URL http://localhost:8080 -RUN npm run build +RUN NODE_OPTIONS="--max-old-space-size=8192" npm run build # Production image, copy all the files and run next