mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-22 18:25:56 +01:00
Update dockerfile of portal based on angular6 upgrade
1. Update entrypoint to reflect angular 6 upgrade Signed-off-by: Qian Deng <dengq@vmware.com>
This commit is contained in:
parent
db8d7b9c1c
commit
ba4762095f
@ -10,15 +10,9 @@ npm install
|
||||
|
||||
## Build harbor-ui and link it
|
||||
rm -rf /build_dir/lib/dist
|
||||
npm run build:lib
|
||||
npm run build_lib
|
||||
chmod -R +xr /build_dir/lib/dist
|
||||
cd /build_dir/lib/dist
|
||||
npm link
|
||||
cd /build_dir
|
||||
npm link harbor-ui
|
||||
npm run link_lib
|
||||
|
||||
## Build production
|
||||
npm run build:prod
|
||||
|
||||
## Unlink
|
||||
npm unlink harbor-ui
|
||||
npm run release
|
@ -11,11 +11,11 @@
|
||||
"pree2e": "webdriver-manager update",
|
||||
"e2e": "protractor",
|
||||
"build": "ng build --aot",
|
||||
"release": "ng build --aot --prod",
|
||||
"release": "ng build --prod",
|
||||
"build_lib": "ng build --prod lib",
|
||||
"npm_pack": "cd lib/dist && npm pack",
|
||||
"package": "npm run build_lib && npm run npm_pack",
|
||||
"link-lib":"cd lib/dist && npm link && cd ../../ && npm link @harbor/ui"
|
||||
"link_lib":"cd lib/dist && npm link && cd ../../ && npm link @harbor/ui"
|
||||
},
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
|
Loading…
Reference in New Issue
Block a user