瀏覽代碼

fix: update corepack on js dockerfile (#2342)

see https://github.com/nodejs/corepack/issues/612 for more details.
Ali Behjati 9 月之前
父節點
當前提交
23bea8b57f
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      Dockerfile.node

+ 1 - 0
Dockerfile.node

@@ -3,6 +3,7 @@ WORKDIR /usr/src/pyth
 ENV PNPM_HOME="/pnpm"
 ENV PATH="$PNPM_HOME:$PATH"
 RUN apt-get update && apt-get install -y git python3 make gcc g++ curl && corepack enable
+RUN npm install -g corepack@0.31.0
 COPY ./ .
 RUN --mount=type=cache,id=pnpm,target=/pnpm/store pnpm install --frozen-lockfile