Skip to content

Commit

Permalink
build: use corepack pnpm (#28684)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice committed Apr 26, 2024
1 parent 0bde0bd commit a5b75e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ ENV CI=1 npm_config_modules_cache_max_age=0
COPY pnpm-lock.yaml ./

# only fetch deps from lockfile https://pnpm.io/cli/fetch
RUN pnpm fetch --prod
RUN corepack pnpm fetch --prod

COPY . ./

# install
RUN set -ex; \
pnpm install --prod --offline --ignore-scripts; \
corepack pnpm install --prod --offline --ignore-scripts; \
true

# test
Expand Down

0 comments on commit a5b75e6

Please sign in to comment.