From c4a92d17e9f3c00194a0e6b43e1b15c8236e0f32 Mon Sep 17 00:00:00 2001 From: Story Crater Bot <19826264+Riotpiaole@users.noreply.github.com> Date: Mon, 31 Aug 2026 17:40:13 -0700 Subject: [PATCH] fix(ci): use --ignore-scripts for pnpm install --- Dockerfile | 4 ++-- package.json | 8 +------- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/Dockerfile b/Dockerfile index 26aadee..7b623f6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,8 @@ COPY package.json pnpm-lock.yaml ./ # Install pnpm RUN npm install -g pnpm -# Install dependencies -RUN pnpm install --frozen-lockfile +# Install dependencies (skip build scripts - sharp will use wasm fallback) +RUN pnpm install --frozen-lockfile --ignore-scripts # Copy source COPY . . diff --git a/package.json b/package.json index c2cf54b..6964471 100644 --- a/package.json +++ b/package.json @@ -30,11 +30,5 @@ "eslint-config-next": "^16.2.10", "postcss": "^8.4.32", "typescript": "5.8.2" - }, - "pnpm": { - "onlyBuiltDependencies": [ - "sharp", - "unrs-resolver" - ] } -} \ No newline at end of file +}