Browse Source

replaced npm install by npm ci

bach 3 years ago
parent
commit
fc971fa605
1 changed files with 10 additions and 7 deletions
  1. 10 7
      Docker/app/client-entrypoint.sh

+ 10 - 7
Docker/app/client-entrypoint.sh

@@ -4,14 +4,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 init"
+npm ci
 
 # echo "Run npm dev"
 # npm run dev