1234567891011121314151617181920212223 |
- #!/bin/sh
- cat /etc/passwd|grep 1000
- cd /app
- echo "Cleaning node_modules"
- rm -rf node_modules
- echo "Npm install"
- npm install
- # echo "Run npm dev"
- # npm run dev
- echo "APP_ENV $APP_ENV"
- if [ "$APP_ENV" = "prod" ]; then
- echo "Run npm prod"
- npm run prod
- else
- echo "Run npm dev"
- npm run dev
- fi
|