Skip to content

Commit

Permalink
npm update during docker build
Browse files Browse the repository at this point in the history
  • Loading branch information
groovecoder committed Dec 13, 2019
1 parent 4e980b2 commit 9119316
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ FROM node:10-alpine

RUN addgroup -g 10001 app && \
adduser -D -G app -h /app -u 10001 app
RUN npm update -g
RUN rm -rf /tmp/*

WORKDIR /app

Expand Down

0 comments on commit 9119316

Please sign in to comment.