From c081030d618d040bd723ae267f40d1b6723edeb2 Mon Sep 17 00:00:00 2001 From: Stephen Zhou Date: Wed, 3 May 2023 19:14:21 +0800 Subject: [PATCH] chore: lock pnpm version (#1628) --- Dockerfile | 2 +- web/package.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6158c722..1649d422 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ WORKDIR /frontend-build COPY ./web/package.json ./web/pnpm-lock.yaml ./ -RUN npm install -g pnpm && pnpm i --frozen-lockfile +RUN corepack enable && pnpm i --frozen-lockfile COPY ./web/ . diff --git a/web/package.json b/web/package.json index 06a9c46a..b17f0df9 100644 --- a/web/package.json +++ b/web/package.json @@ -6,6 +6,7 @@ "lint": "eslint --ext .js,.ts,.tsx, src", "lint-fix": "eslint --ext .js,.ts,.tsx, src --fix" }, + "packageManager": "pnpm@8.4.0", "dependencies": { "@emotion/react": "^11.10.5", "@emotion/styled": "^11.10.5",