diff --git a/Dockerfile_lts b/Dockerfile_lts index a89ff8b..bfae409 100644 --- a/Dockerfile_lts +++ b/Dockerfile_lts @@ -5,7 +5,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \ && nvm install $NODE_VERSION_LTS \ && nvm alias default $NODE_VERSION_LTS \ && nvm use default \ - && npm config --unsafe-perm true \ + && npm config set unsafe-perm true \ && npm install -g npm" ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules diff --git a/Dockerfile_stable b/Dockerfile_stable index 2bf65e5..5bd15d9 100644 --- a/Dockerfile_stable +++ b/Dockerfile_stable @@ -4,7 +4,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \ && nvm install $NODE_VERSION_STABLE \ && nvm alias default $NODE_VERSION_STABLE \ && nvm use default \ - && npm config --unsafe-perm true \ + && npm config set unsafe-perm true \ && npm install -g npm" ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules