From: Jérôme Benoit Date: Wed, 2 Nov 2022 08:20:45 +0000 (+0100) Subject: docker: ensure argument have a default value X-Git-Tag: v1.1.87~11 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=809e22c4556531efcefac96a6f081bbc306c360c;p=e-mobility-charging-stations-simulator.git docker: ensure argument have a default value Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index da34fdcf..080c56d0 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -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}"