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 +}