Skip to content

Commit

Permalink
chore: update npm to latest version in docker
Browse files Browse the repository at this point in the history
  • Loading branch information
fengkx committed Mar 9, 2021
1 parent 8024c6c commit 1aa6305
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ FROM node:lts-alpine as dep-builder
WORKDIR /app
COPY package.json clean-nm.sh /app/
RUN apk add --no-cache --update build-base python2
RUN npm install --production && sh /app/clean-nm.sh
RUN npm i -g npm && npm install --production && sh /app/clean-nm.sh

FROM node:lts-alpine as app
WORKDIR /app
Expand Down

0 comments on commit 1aa6305

Please sign in to comment.