From 2bf8ae8993bbfa55e4265c60ff5e21e0a636624f Mon Sep 17 00:00:00 2001 From: Anton Voylenko Date: Tue, 9 Dec 2025 22:13:11 +0200 Subject: [PATCH] ci: fix npm install --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5850cfd..9235c3a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,8 @@ ARG USE_EDGE=false COPY package*.json ./ RUN if [ "$USE_EDGE" = "true" ]; then \ - npm install --save-exact --omit=dev --ignore-scripts github:pedroslopez/whatsapp-web.js#main; \ + npm ci --only=production --ignore-scripts && \ + npm install --save-exact github:pedroslopez/whatsapp-web.js#main; \ else \ npm ci --only=production --ignore-scripts; \ fi