Skip to content

Commit 4b70897

Browse files
committed
don't hardcode max old space size in deployment images
1 parent 9d261f4 commit 4b70897

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

packages/cli-v3/src/deploy/buildImage.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -688,8 +688,7 @@ ENV TRIGGER_PROJECT_ID=\${TRIGGER_PROJECT_ID} \
688688
TRIGGER_CONTENT_HASH=\${TRIGGER_CONTENT_HASH} \
689689
TRIGGER_PROJECT_REF=\${TRIGGER_PROJECT_REF} \
690690
NODE_EXTRA_CA_CERTS=\${NODE_EXTRA_CA_CERTS} \
691-
NODE_ENV=production \
692-
NODE_OPTIONS="--max_old_space_size=8192"
691+
NODE_ENV=production
693692
694693
# Copy the files from the install stage
695694
COPY --from=build --chown=node:node /app ./

0 commit comments

Comments
 (0)