mirror of
https://github.com/goharbor/harbor.git
synced 2024-11-26 20:26:13 +01:00
7873a0312a
1. Update the nginx.conf 2. Update Makefile 3. Update docker-compose 4. Update image name 5. Rename folder ui to core 6. Change the harbor-ui's package name to core 7. Remove unused static file on harbor-core 8. Remove unused code for harbor-portal Signed-off-by: Qian Deng <dengq@vmware.com>
16 lines
202 B
Bash
16 lines
202 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
cd /build_dir
|
|
cp -r /portal_src/* .
|
|
ls -la
|
|
|
|
cat ./package.json
|
|
npm install
|
|
|
|
## Build harbor-portal and link it
|
|
npm run build_lib
|
|
npm run link_lib
|
|
|
|
## Build production
|
|
npm run release |