From 31b183540e3a380a3cbe1ea9dc76cc9aac03e91c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20Fredrik=20Ki=C3=A6r?= <31612826+anders-kiaer@users.noreply.github.com> Date: Tue, 20 Jun 2023 19:09:20 +0000 Subject: [PATCH] wip --- .github/workflows/webviz.yml | 5 +---- frontend-prod.Dockerfile | 3 --- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/.github/workflows/webviz.yml b/.github/workflows/webviz.yml index fd34926e3..dab61c9b6 100644 --- a/.github/workflows/webviz.yml +++ b/.github/workflows/webviz.yml @@ -39,10 +39,7 @@ jobs: - name: 🏗️ Build JavaScript bundle working-directory: ./frontend - run: | - # Building wsc requires increasing memory allocated to Node - export NODE_OPTIONS="--max_old_space_size=4096" - npm run build + run: npm run build - name: 🕵️ Check code style & linting working-directory: ./frontend diff --git a/frontend-prod.Dockerfile b/frontend-prod.Dockerfile index 508799676..51f490bff 100644 --- a/frontend-prod.Dockerfile +++ b/frontend-prod.Dockerfile @@ -14,9 +14,6 @@ COPY --chown=node:node . /usr/src/app WORKDIR /usr/src/app/frontend ENV NODE_ENV production -# Building wsc requires increasing memory allocated to Node -ENV NODE_OPTIONS="--max-old-space-size=4096" - RUN npm ci --include=dev && npm run build && node compress_static.cjs ###########################################