Skip to content

Commit

Permalink
fix(docker.build): init pnpm error due to pnpm/pnpm#9014
Browse files Browse the repository at this point in the history
  • Loading branch information
flynncao committed Feb 11, 2025
1 parent ec7b554 commit ba2b4f6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ COPY ./package.json /app/
# lazy install Chromium to avoid cache miss, only install production dependencies to minimize the image size
RUN \
set -ex && \
corepack enable pnpm && \
corepack disabled pnpm && \
npm install -g pnpm@latest && \
pnpm install --frozen-lockfile && \
pnpm rb

Expand Down

0 comments on commit ba2b4f6

Please sign in to comment.