ソースを参照

replaced npm install by npm ci

bach 3 年 前
コミット
fc971fa605
1 ファイル変更10 行追加7 行削除
  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