Skip to content

Commit 186cd20

Browse files
committed
fix: increase Node.js memory limit to 4GB in storybook dockerfile
1 parent a2fa857 commit 186cd20

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

govtool/frontend/storybook.Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ FROM node:18-alpine as builder
1616
ARG NPMRC_TOKEN
1717
WORKDIR /src
1818

19+
ENV NODE_OPTIONS="--max-old-space-size=4096"
20+
1921
COPY --from=deps /src/node_modules ./node_modules
2022
COPY . .
2123

0 commit comments

Comments
 (0)