Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: set chrome version to stable for production use #12

Merged
merged 2 commits into from
Feb 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gconf-service\
libgbm-dev ca-certificates fonts-liberation fonts-emojione\
ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-noto-cjk fonts-arphic-uming\
libappindicator1 libnss3 lsb-release xdg-utils wget
RUN npm install
RUN PUPPETEER_CHROMIUM_REVISION=stable npm install

CMD ["/usr/bin/node", "/app/app.js"]
2 changes: 1 addition & 1 deletion Dockerfile.debian
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@ RUN DEBIAN_FRONTEND=noninteractive apt-get install -y gconf-service\
libgbm-dev ca-certificates fonts-liberation fonts-noto-color-emoji\
ttf-wqy-zenhei ttf-wqy-microhei fonts-arphic-ukai fonts-noto-cjk fonts-arphic-uming\
libappindicator1 libnss3 lsb-release xdg-utils wget
RUN npm install
RUN PUPPETEER_CHROMIUM_REVISION=stable npm install

CMD ["/usr/bin/node", "/app/app.js"]