Is there a working nodejs/phantomjs Heroku buildpack?

后端 未结 6 928
抹茶落季
抹茶落季 2020-12-13 16:27

I\'d like to deploy an app with a Procfile that runs

web: node myapp.js

Where myapp.js uses phantomjs-node to run headless web

6条回答
  •  渐次进展
    2020-12-13 17:09

    Heroku Toolbelt now has first class support for multiple buildpacks, so you can get a working Node and PhantomJS setup with the following:

    heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs.git

    heroku buildpacks:add --index 1 https://github.com/stomita/heroku-buildpack-phantomjs.git

提交回复
热议问题