diff --git a/docker/deploy/frontend.Dockerfile b/docker/deploy/frontend.Dockerfile index 46490573..6c0736f5 100644 --- a/docker/deploy/frontend.Dockerfile +++ b/docker/deploy/frontend.Dockerfile @@ -34,6 +34,7 @@ RUN echo "Build SHA: $GIT_SHA" # Build the application ENV DISABLE_ESLINT_PLUGIN=true +ENV NODE_OPTIONS=--max-old-space-size=4096 RUN npm run build # Production image, copy all the files and run next