Skip to content
This repository has been archived by the owner on Jul 15, 2021. It is now read-only.

Commit

Permalink
Update Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ll911 authored Oct 26, 2018
1 parent 2df636a commit 262e9aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ RUN NPM_CONFIG_PREFIX=/npm-global \
&& echo "prefix=/npm-global" > ~/.npmrc \
&& npm i --no-cache npm@latest -g && npm i --no-cache -g @angular/cli \
&& npm install --no-cache \
&& ng build --prod
&& ng build --prod \
&& chmod -R o+r /app/dist/*

CMD ["cp", "-r", "/app/dist/*", "/dist"]

0 comments on commit 262e9aa

Please sign in to comment.