Skip to content

Commit

Permalink
docs: add Google Cloud Run to troubleshooting guide (#7541)
Browse files Browse the repository at this point in the history
Issue: #7519
  • Loading branch information
nzakas committed Sep 3, 2021
1 parent d4b17bd commit 10e8474
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/troubleshooting.md
Expand Up @@ -17,6 +17,7 @@
- [Running Puppeteer in the cloud](#running-puppeteer-in-the-cloud)
* [Running Puppeteer on Google App Engine](#running-puppeteer-on-google-app-engine)
* [Running Puppeteer on Google Cloud Functions](#running-puppeteer-on-google-cloud-functions)
* [Running Puppeteer on Google Cloud Run](#running-puppeteer-on-google-cloud-run)
* [Running Puppeteer on Heroku](#running-puppeteer-on-heroku)
* [Running Puppeteer on AWS Lambda](#running-puppeteer-on-aws-lambda)
* [Running Puppeteer on AWS EC2 instance running Amazon-Linux](#running-puppeteer-on-aws-ec2-instance-running-amazon-linux)
Expand Down Expand Up @@ -401,6 +402,10 @@ The Node.js 10 runtime of [Google Cloud Functions](https://cloud.google.com/func

To use `puppeteer`, simply list the module as a dependency in your `package.json` and deploy your function to Google Cloud Functions using the `nodejs10` runtime.

### Running Puppeteer on Google Cloud Run

The default Node.js runtime of [Google Cloud Run](https://cloud.google.com/run/docs/) does not come with the system packages needed to run Headless Chrome. You will need to set up your own `Dockerfile` and [include the missing dependencies](#chrome-headless-doesnt-launch-on-unix).

### Running Puppeteer on Heroku

Running Puppeteer on Heroku requires some additional dependencies that aren't included on the Linux box that Heroku spins up for you. To add the dependencies on deploy, add the Puppeteer Heroku buildpack to the list of buildpacks for your app under Settings > Buildpacks.
Expand Down

0 comments on commit 10e8474

Please sign in to comment.