updated build cmd
This commit is contained in:
parent
b8a315175b
commit
f7a51bcb8f
@ -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 ###
|
||||
|
||||
|
||||
|
||||
@ -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",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user