docker: ensure argument have a default value
authorJérôme Benoit <jerome.benoit@sap.com>
Wed, 2 Nov 2022 08:20:45 +0000 (09:20 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Wed, 2 Nov 2022 08:20:45 +0000 (09:20 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
docker/Dockerfile

index da34fdcf5cf2eb65fc5a520919d99a71c9d04b34..080c56d025f41495e373f2555c08458ae7244cd3 100644 (file)
@@ -27,8 +27,8 @@ RUN set -ex \
 
 FROM node:lts-alpine
 
-ARG STACK_TRACE_LIMIT
-ARG MAX_OLD_SPACE_SIZE
+ARG STACK_TRACE_LIMIT=1024
+ARG MAX_OLD_SPACE_SIZE=768
 
 ENV NODE_OPTIONS="--stack-trace-limit=${STACK_TRACE_LIMIT} --max-old-space-size=${MAX_OLD_SPACE_SIZE}"