fix: temp fix for the corepack issue (#645)

* fix: temp fix for the corepack issue

* fix: move the fix line above corepack enable
This commit is contained in:
jonesho
2025-02-04 11:30:27 +08:00
committed by GitHub
parent 253a51a44f
commit 672e5ed8d7

View File

@@ -3,6 +3,9 @@ FROM node:lts-slim AS base
ENV PNPM_HOME="/pnpm"
ENV PATH="$PNPM_HOME:$PATH"
# Temp fix for the corepack issue described in https://github.com/pnpm/pnpm/issues/9029
RUN npm i -g corepack@latest
RUN corepack enable
RUN apt-get update \