diff --git a/Dockerfile b/Dockerfile index dee00724..64974e1f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,7 +6,10 @@ WORKDIR /elk FROM base AS builder # Prepare pnpm https://pnpm.io/installation#using-corepack -RUN corepack enable +# workaround for npm registry key change +# ref. `pnpm@10.1.0` / `pnpm@9.15.4` cannot be installed due to key id mismatch · Issue #612 · nodejs/corepack +# - https://github.com/nodejs/corepack/issues/612#issuecomment-2629496091 +RUN npm i -g corepack@latest && corepack enable # Prepare deps RUN apk update