From 1ed0c6acf9f4fd294150de268573c9dcec95c0b5 Mon Sep 17 00:00:00 2001 From: Lucy-Jane Walsh Date: Fri, 31 Jan 2020 11:49:15 +1300 Subject: [PATCH] Add NODE_OPTIONS to ui run in Dockerfile In order to solve the webpack memory issue Change-type: patch Signed-off-by: Lucy-Jane Walsh --- apps/ui/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/ui/Dockerfile b/apps/ui/Dockerfile index b13b756723e..94151da7bff 100644 --- a/apps/ui/Dockerfile +++ b/apps/ui/Dockerfile @@ -34,8 +34,8 @@ RUN make build-ui \ SENTRY_DSN_UI=$SENTRY_DSN_UI \ SERVER_HOST=$SERVER_HOST \ SERVER_PORT=$SERVER_PORT \ - OAUTH_REDIRECT_BASE_URL=https://jel.ly.fish - + OAUTH_REDIRECT_BASE_URL=https://jel.ly.fish \ + NODE_OPTIONS=--max-old-space-size=2048 ########################################################### # Runtime ###########################################################