Skip to content

Commit

Permalink
Updating npm run build script
Browse files Browse the repository at this point in the history
  • Loading branch information
mtlynch committed Jan 3, 2018
1 parent 60d57f8 commit 97b98c9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ WORKDIR /app

RUN npm install \
&& cd functions && npm install && cd ../ \
&& ./node_modules/@angular/cli/bin/ng build --prod --aot
RUN npm run build

# Enable support for Chromium
ARG DEBIAN_FRONTEND=noninteractive
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build --prod --aot",
"build": "ng build --target=production --aot",
"test": "ng test",
"lint": "ng lint",
"e2e": "ng e2e",
Expand Down

0 comments on commit 97b98c9

Please sign in to comment.