Skip to content

Commit

Permalink
chore: upgrade puppeteer version to 23.4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
moonrailgun committed Sep 30, 2024
1 parent d73fa10 commit e942769
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 97 deletions.
15 changes: 0 additions & 15 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,21 +33,6 @@ RUN pnpm build:static
FROM base AS app
WORKDIR /app/tianji

# We don't need the standalone Chromium
ENV PUPPETEER_SKIP_DOWNLOAD=true
ENV PUPPETEER_EXECUTABLE_PATH=/usr/bin/chromium-browser
ENV DEBUG=puppeteer:*

# NOTICE: Make sure Puppeteer is v22.7.1. Reference: https://pptr.dev/supported-browsers
RUN apk add --no-cache \
chromium \
nss \
freetype \
harfbuzz \
udev \
ca-certificates \
ttf-freefont

COPY . .

RUN pnpm install --filter @tianji/server... --config.dedupe-peer-dependents=false
Expand Down
129 changes: 48 additions & 81 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/server/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
"passport": "^0.7.0",
"passport-jwt": "^4.0.1",
"ping": "^0.4.4",
"puppeteer": "22.7.1",
"puppeteer": "23.4.1",
"request-ip": "^3.3.0",
"socket.io": "^4.7.4",
"swagger-ui-express": "^5.0.0",
Expand Down

0 comments on commit e942769

Please sign in to comment.