mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-05 00:23:33 +01:00
ba4762095f
1. Update entrypoint to reflect angular 6 upgrade Signed-off-by: Qian Deng <dengq@vmware.com>
18 lines
258 B
Bash
18 lines
258 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
cd /build_dir
|
|
cp -r /portal_src/* .
|
|
ls -la
|
|
|
|
cat ./package.json
|
|
npm install
|
|
|
|
## Build harbor-ui and link it
|
|
rm -rf /build_dir/lib/dist
|
|
npm run build_lib
|
|
chmod -R +xr /build_dir/lib/dist
|
|
npm run link_lib
|
|
|
|
## Build production
|
|
npm run release |