Add info about deploying puppeteer to Heroku (#762)
This commit is contained in:
parent
9292a56eaf
commit
9779085b7c
@ -135,3 +135,11 @@ Run the container by passing `node -e "<yourscript.js content as a string>` as t
|
||||
|
||||
There's a full example at https://github.com/ebidel/try-puppeteer that shows
|
||||
how to run this setup from a webserver running on App Engine Flex (Node).
|
||||
|
||||
## 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.
|
||||
|
||||
The url for the buildpack is https://github.com/jontewks/puppeteer-heroku-buildpack
|
||||
|
||||
When you click add buildpack, simply paste that url into the input, and click save. On the next deploy, your app will also install the dependencies that Puppeteer needs to run.
|
||||
|
Loading…
Reference in New Issue
Block a user