]> Piment Noir Git Repositories - e-mobility-charging-stations-simulator.git/commitdiff
fix(docker): dependencies installation with latest pnpm
authorJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 14 May 2025 14:01:57 +0000 (16:01 +0200)
committerJérôme Benoit <jerome.benoit@piment-noir.org>
Wed, 14 May 2025 14:01:57 +0000 (16:01 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@piment-noir.org>
.dockerignore [new file with mode: 0644]
docker/Dockerfile
ui/web/docker/Dockerfile

diff --git a/.dockerignore b/.dockerignore
new file mode 100644 (file)
index 0000000..3c3629e
--- /dev/null
@@ -0,0 +1 @@
+node_modules
index 4376d557af5e7c496a7403547ce2947dae2a407b..93fbcd3ee79e545a5f10ce07e0a8ee4ea178c0d8 100644 (file)
@@ -5,7 +5,7 @@ WORKDIR /usr/builder
 COPY . ./
 RUN set -ex \
   && apk add --no-cache --virtual .gyp build-base python3 \
-  && npm install -g corepack \
+  && npm install -g --ignore-scripts corepack \
   && corepack enable \
   && corepack prepare pnpm@latest --activate \
   && pnpm set progress=false \
index 6454660bcfcb08b0c1a6d47d1a191117e6c2573c..8b25032d6a426859fc11e9e69186b1017cea41e4 100644 (file)
@@ -4,7 +4,7 @@ FROM node:lts-alpine AS builder
 WORKDIR /usr/builder
 COPY . ./
 RUN set -ex \
-  && npm install -g corepack \
+  && npm install -g --ignore-scripts corepack \
   && corepack enable \
   && corepack prepare pnpm@latest --activate \
   && pnpm set progress=false \