diff --git a/Dockerfile b/Dockerfile index 14b379ff5c..693962ba25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -573,7 +573,8 @@ RUN \ # Mount pnpm store --mount=type=cache,id=pnpm-store,target=/pnpm \ # Fetch dependencies to the pnpm store based on the lockfile - pnpm fetch --prefer-offline --frozen-lockfile + # Use --ignore-scripts to avoid native build issues during fetch + pnpm fetch --prefer-offline --frozen-lockfile --ignore-scripts COPY . .