Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
anders-kiaer committed Jun 20, 2023
1 parent ae66512 commit 31b1835
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/webviz.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions frontend-prod.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

###########################################
Expand Down

0 comments on commit 31b1835

Please sign in to comment.