Skip to content

Commit

Permalink
chore: pin pnpm to v8 in docker instead of installing v9 via corepack
Browse files Browse the repository at this point in the history
  • Loading branch information
TonyRL committed Apr 16, 2024
1 parent 920d1a9 commit 9739188
Show file tree
Hide file tree
Showing 2 changed files with 877 additions and 619 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ COPY ./package.json /app/
RUN \
set -ex && \
export PUPPETEER_SKIP_DOWNLOAD=true && \
corepack enable pnpm && \
npm install -g pnpm@8.15.7 && \
pnpm install --frozen-lockfile && \
pnpm rb

Expand Down Expand Up @@ -102,7 +102,7 @@ RUN \
fi; \
echo 'Downloading Chromium...' && \
unset PUPPETEER_SKIP_DOWNLOAD && \
corepack enable pnpm && \
npm install -g pnpm@8.15.7 && \
pnpm add puppeteer@$(cat /app/.puppeteer_version) --save-prod && \
pnpm rb ; \
else \
Expand Down
Loading

0 comments on commit 9739188

Please sign in to comment.