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",