changed npm entry point to make clean install 'npm ci'

This commit is contained in:
Bachir Soussi Chiadmi 2021-02-25 18:07:19 +01:00
parent bdc13d5e07
commit 9a231e50e2

View File

@ -3,14 +3,17 @@
# cat /etc/passwd|grep 1000
cd /app
echo "Cleaning node_modules"
rm -rf node_modules
# echo "Cleaning node_modules"
# rm -rf node_modules
#
# echo "Cleaning npm cache"
# npm cache clean --f
#
# echo "Npm install"
# npm install
echo "Cleaning npm cache"
npm cache clean --f
echo "Npm install"
npm install
echo "Npm Clean Install"
npm ci
echo "Run npm dev"
npm run dev