From: Jérôme Benoit Date: Sun, 11 Jun 2023 16:30:52 +0000 (+0200) Subject: fix: do not run scripts while installing deps in docker image X-Git-Tag: v1.2.17~28 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e028497c367f38b3d1303634d65bb90d764374cb;p=e-mobility-charging-stations-simulator.git fix: do not run scripts while installing deps in docker image Signed-off-by: Jérôme Benoit --- diff --git a/docker/Dockerfile b/docker/Dockerfile index d1f2135f..7670cf27 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -12,7 +12,7 @@ RUN set -ex \ && corepack prepare pnpm@latest --activate \ && pnpm set progress=false \ && pnpm config set depth 0 \ - && pnpm install \ + && pnpm install --ignore-scripts \ && pnpm build \ && apk del .gyp @@ -24,7 +24,7 @@ RUN set -ex \ && corepack prepare pnpm@latest --activate \ && pnpm set progress=false \ && pnpm config set depth 0 \ - && pnpm install \ + && pnpm install --ignore-scripts \ && pnpm build FROM node:lts-alpine