fix permissions
This commit is contained in:
parent
020bca3347
commit
f827d8c36b
@ -5,7 +5,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
|
|||||||
&& nvm install $NODE_VERSION_LTS \
|
&& nvm install $NODE_VERSION_LTS \
|
||||||
&& nvm alias default $NODE_VERSION_LTS \
|
&& nvm alias default $NODE_VERSION_LTS \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
&& npm config --unsafe-perm true \
|
&& npm config set unsafe-perm true \
|
||||||
&& npm install -g npm"
|
&& npm install -g npm"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_LTS/lib/node_modules
|
||||||
|
@ -4,7 +4,7 @@ RUN bash -c "source $NVM_DIR/nvm.sh \
|
|||||||
&& nvm install $NODE_VERSION_STABLE \
|
&& nvm install $NODE_VERSION_STABLE \
|
||||||
&& nvm alias default $NODE_VERSION_STABLE \
|
&& nvm alias default $NODE_VERSION_STABLE \
|
||||||
&& nvm use default \
|
&& nvm use default \
|
||||||
&& npm config --unsafe-perm true \
|
&& npm config set unsafe-perm true \
|
||||||
&& npm install -g npm"
|
&& npm install -g npm"
|
||||||
|
|
||||||
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
ENV NODE_PATH $NVM_DIR/v$NODE_VERSION_STABLE/lib/node_modules
|
||||||
|
Loading…
Reference in New Issue
Block a user