Skip to content

Commit

Permalink
Replaced deprecated ng build "--prod" flag with "--configuration prod…
Browse files Browse the repository at this point in the history
…uction".
  • Loading branch information
alancleary committed Jul 12, 2022
1 parent c0d91c5 commit 0eb9e35
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 @@ -40,7 +40,7 @@ FROM base as build
ARG ANGULAR_BUILD_OPTIONS=''

# build the project
RUN npx ng build --prod $ANGULAR_BUILD_OPTIONS
RUN npx ng build --configuration production $ANGULAR_BUILD_OPTIONS


# prod stage deploys the project with NGINX
Expand Down

0 comments on commit 0eb9e35

Please sign in to comment.