Skip to content

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
avatsaev authored Sep 14, 2018
1 parent 7988385 commit f0bc7f8
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 @@ -9,7 +9,7 @@ COPY package.json package-lock.json ./


## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
RUN npm i -g npm@6.3 && npm ci && mkdir /ng-app && cp -R ./node_modules ./ng-app
RUN npm i -g npm@6.3 && npm ci && mkdir /ng-app && mv -R ./node_modules ./ng-app

## Move to /ng-app (eq: cd /ng-app)
WORKDIR /ng-app
Expand Down

0 comments on commit f0bc7f8

Please sign in to comment.