From d36722a45508b8e4a9aa6ee72a9da7a43cf3f687 Mon Sep 17 00:00:00 2001 From: Ralf Vogler Date: Wed, 23 Jul 2025 00:36:11 +0200 Subject: [PATCH] docker: sonar: npm install --ignore-scripts https://sonarcloud.io/project/security_hotspots?id=vogler_free-games-claimer&branch=dev&issueStatuses=OPEN,CONFIRMED&sinceLeakPeriod=true --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 5ec1711..c80e65b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -63,7 +63,7 @@ WORKDIR /fgc COPY package*.json ./ # --no-shell to avoid installing chromium_headless_shell (307MB) since headless mode could be detected without patching the browser itself -RUN npm install && npx patchright install chromium --no-shell && du -h -d1 ~/.cache/ms-playwright +RUN npm install --ignore-scripts && npx patchright install chromium --no-shell && du -h -d1 ~/.cache/ms-playwright COPY . .