Skip to content

Commit

Permalink
npm config set user 0
Browse files Browse the repository at this point in the history
  • Loading branch information
peaceiris committed Mar 10, 2021
1 parent 3c5bd31 commit a40a855
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.37.2/install.sh | b
nvm -v && \
nvm install "${NODE_VERSION}" && \
nvm use "${NODE_VERSION}" && \
npm config set user 0 && \
npm config set unsafe-perm true && \
npm i -g npm && \
npm cache clean --force
Expand Down

0 comments on commit a40a855

Please sign in to comment.