From 9ae8941b4b7b35438b0b0eb943912e4d170aea70 Mon Sep 17 00:00:00 2001 From: spwoodcock Date: Wed, 11 Dec 2024 23:59:17 +0000 Subject: [PATCH] build: use --ignore-scripts flag when pnpm install prod --- src/Dockerfile.ui.prod | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Dockerfile.ui.prod b/src/Dockerfile.ui.prod index 70bf2db8bb..11f4dda05f 100644 --- a/src/Dockerfile.ui.prod +++ b/src/Dockerfile.ui.prod @@ -13,14 +13,14 @@ WORKDIR /app FROM base AS manager-frontend COPY frontend/package.json frontend/pnpm-lock.yaml ./ -RUN pnpm install +RUN pnpm install --ignore-scripts COPY frontend/ . RUN pnpm run build --mode ${NODE_ENV} FROM base AS mapper-frontend COPY mapper/package.json mapper/pnpm-lock.yaml ./ -RUN pnpm install +RUN pnpm install --ignore-scripts COPY mapper/ . RUN pnpm run build --mode ${NODE_ENV}