Skip to content

Commit b68d808

Browse files
committed
fix: increase heap memory limit
1 parent 3fe4890 commit b68d808

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

govtool/frontend/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ ARG VITE_PDF_API_URL
1313
ARG VITE_IPFS_GATEWAY
1414
ARG VITE_IPFS_PROJECT_ID
1515

16+
ENV NODE_OPTIONS="--max-old-space-size=4096"
17+
1618
# Ensure all required build arguments are set
1719
RUN \
1820
: "${VITE_APP_ENV:?Build argument VITE_APP_ENV is not set}" && \

govtool/frontend/Dockerfile.qovery

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ ARG VITE_IPFS_PROJECT_ID
1515

1616
WORKDIR /src
1717

18+
ENV NODE_OPTIONS="--max-old-space-size=4096"
19+
1820
# Set npm configuration settings using environment variables
1921
RUN npm config set @intersect.mbo:registry "https://registry.npmjs.org/" --location=global
2022
RUN npm config set //registry.npmjs.org/:_authToken ${NPMRC_TOKEN} --location=global

0 commit comments

Comments
 (0)