Skip to content

Commit

Permalink
perf: save one operation
Browse files Browse the repository at this point in the history
  • Loading branch information
linuxbandit committed Sep 6, 2020
1 parent b866ede commit 33e9bee
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
FROM node:12

RUN mkdir -p /usr/app/src
WORKDIR /usr/app/src

COPY . /usr/app/src

RUN chown -R node:node /usr/app

WORKDIR /usr/app/src

USER node

ENV NPM_CONFIG_PREFIX=/home/node/.npm-global
Expand Down

0 comments on commit 33e9bee

Please sign in to comment.