mirror of https://github.com/abpframework/abp
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
476 B
21 lines
476 B
#!/bin/bash
|
|
while ping -c1 publish &> /dev/null
|
|
do echo "Waiting for publishing to be done"; sleep 10;
|
|
done;
|
|
|
|
echo "Serving app"
|
|
|
|
cd /app/app
|
|
|
|
echo "@abp:registry=http://verdaccio:4873" >> .npmrc
|
|
echo '@volo:registry=http://verdaccio:4873' >> .npmrc
|
|
|
|
npx npm-check-updates --filter '/^@(abp|volo)\/.*$/' --registry http://verdaccio:4873 --target greatest --packageFile package.json -u
|
|
|
|
yarn
|
|
|
|
yarn ng build --prod
|
|
|
|
cd dist/MyProjectName
|
|
|
|
npx http-server-spa . index.html 4200 |