puppeteer-real-browser
puppeteer-real-browser copied to clipboard
Docker no longer works with the latest update
When updating to the latest version of puppeteer-real-browser the dockerfile no longer works. I found this out when installing the package in my own project and building my own docker image. It seems to be an issue with puppeteer and the version of chrome it requires to run. Steps to reproduce:
- Run
npm install
to update the package-lock.json - Build dockerfile
- Run dockerfile
Logs:
Launching the browser... Error: Could not find Chrome (ver. 127.0.6533.72). This can occur if either
- you did not perform an installation before running the script (e.g.
npx puppeteer browsers install chrome
) or - your cache path is incorrectly configured (which is: /root/.cache/puppeteer). For (2), check out our guide on configuring puppeteer at https://pptr.dev/guides/configuration.