Skip to content

Commit 04e8bd5

Browse files
committed
add pnpm install --dangerously-allow-all-builds
1 parent 9e11d1a commit 04e8bd5

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

docker/Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,7 @@ RUN corepack prepare pnpm@11.5.1 --activate
1919

2020
FROM base AS build
2121
COPY package.json pnpm-lock.yaml ./
22-
# approve build scripts
23-
RUN echo "enable-pre-post-scripts=true" > .npmrc
24-
RUN pnpm install --frozen-lockfile
22+
RUN pnpm install --frozen-lockfile --dangerously-allow-all-builds
2523

2624
COPY . .
2725

0 commit comments

Comments
 (0)