Skip to content

Commit

Permalink
update puppeteer
Browse files Browse the repository at this point in the history
  • Loading branch information
mlake committed Feb 22, 2024
1 parent 2bc31f0 commit ce9551f
Show file tree
Hide file tree
Showing 6 changed files with 729 additions and 926 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md#running-puppeteer-in-docker
#
# can't use bullseye because it doesn't have libappindicator (unless installed manually)
FROM node:20.10.0-buster-slim
FROM node:20.11-buster-slim

WORKDIR /usr/app

Expand Down Expand Up @@ -46,7 +46,7 @@ RUN apt-get update && apt-get install -y \
fonts-wqy-zenhei \
fonts-noto-color-emoji

RUN npm install npm@10.2.5 -g \
RUN npm install npm@10.4.0 -g \
&& apt-get install -y wget gnupg ca-certificates procps dumb-init \
# We install Chrome to get all the OS level dependencies, but Chrome itself
# is not actually used as it's packaged in the node puppeteer library.
Expand All @@ -63,6 +63,6 @@ RUN npm install npm@10.2.5 -g \
# && wget --quiet https://raw.githubusercontent.com/vishnubob/wait-for-it/master/wait-for-it.sh -O /usr/sbin/wait-for-it.sh \
# && chmod +x /usr/sbin/wait-for-it.sh \
# Install Puppeteer under /node_modules so it's available system-wide
&& npm install -g puppeteer@21.6.1 --unsafe-perm=true
&& npm install -g puppeteer@22.2.0 --unsafe-perm=true
# be sure that the version of puppeteer matches the version of google-chrome-stable, otherwise possible high CPU
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
43 changes: 20 additions & 23 deletions dist/service/tv-page-actions.js

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

2 changes: 1 addition & 1 deletion dist/service/tv-page-actions.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit ce9551f

Please sign in to comment.