From 03189ee3b2169743df54817b5a69e68c87e57684 Mon Sep 17 00:00:00 2001 From: johnnyjoy Date: Mon, 3 Feb 2025 17:50:33 +0800 Subject: [PATCH] chore: remove corepack in dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 27abff47..d44f3c63 100644 --- a/Dockerfile +++ b/Dockerfile @@ -6,8 +6,8 @@ COPY . . WORKDIR /frontend-build/web -RUN corepack enable && pnpm i --frozen-lockfile - +RUN npm install -g pnpm +RUN pnpm i --frozen-lockfile RUN pnpm build # Build backend exec file.