We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97b9644 commit 52b5f48Copy full SHA for 52b5f48
entrypoint.sh
@@ -2,7 +2,7 @@
2
set -e
3
4
if [ ! -z "$CONTAINER_RESOURCE_REQUEST_MEMORY" ]; then
5
- export MAX_OLD_SPACE=$(/usr/bin/original_node -pe 'Math.round(process.env.CONTAINER_RESOURCE_REQUEST_MEMORY / 1024 / 1024 / 100 * 75)')
+ export MAX_OLD_SPACE=$(/usr/bin/node -pe 'Math.round(process.env.CONTAINER_RESOURCE_REQUEST_MEMORY / 1024 / 1024 / 100 * 75)')
6
ADDITIONAL_ARGS="--max_old_space_size=$MAX_OLD_SPACE"
7
fi
8
0 commit comments