updated build cmd

This commit is contained in:
Timo 2021-05-31 16:04:03 +03:00
parent b8a315175b
commit f7a51bcb8f
2 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ COPY versions.sh version.sh
## Build the angular app in production mode and store the artifacts in dist folder
RUN yarn lint
RUN yarn build --prod --project=red-ui --base-href /ui/
RUN yarn build --configuration production --project=red-ui --base-href /ui/
### STAGE 2: Setup ###

View File

@ -13,7 +13,7 @@
"affected:lint": "nx affected:lint",
"affected:test": "nx affected:test",
"build": "nx build",
"build-lint-all": "ng lint --project=red-ui-http --fix && ng build --project=red-ui-http && ng lint --project=red-ui --fix && ng build --project=red-ui --prod",
"build-lint-all": "ng lint --project=red-ui-http --fix && ng build --project=red-ui-http && ng lint --project=red-ui --fix && ng build --project=red-ui --configuration production",
"dep-graph": "nx dep-graph",
"e2e": "nx e2e",
"format": "nx format:write",