Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
Fixed Dockerfile permissions issue w/node user
  • Loading branch information
katjuell committed Feb 13, 2019
2 parents 1676a9a + c70ff6c commit 43bb74b
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,12 @@ WORKDIR /home/node/app

COPY package*.json ./

RUN npm install
USER node

COPY . .
RUN npm install

COPY --chown=node:node . .

USER node

EXPOSE 8080

CMD [ "node", "app.js" ]

0 comments on commit 43bb74b

Please sign in to comment.