diff --git a/Dockerfile b/Dockerfile index 9e7224d5..0dfffe2f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -9,8 +9,7 @@ ENV PATH=$PNPM_HOME:$PATH ARG NPM_REGISTRY=https://registry.npmmirror.com RUN apk add --no-cache libc6-compat \ - && corepack enable \ - && corepack prepare pnpm@10.30.3 --activate \ + && npm install --global "pnpm@10.30.3" --registry="$NPM_REGISTRY" \ && pnpm config set store-dir "$PNPM_STORE_PATH" \ && pnpm config set registry "$NPM_REGISTRY"