I have a scrapy spider that uses splash which runs on Docker localhost:8050 to render javascript before scraping. I am trying to run this on heroku but have no idea how to c
From what I gather you're expecting:
docker CLI and heroku CLI installeddocker CLI and heroku CLI are installedheroku container:logindocker tag scrapinghub/splash registry.heroku.com//web docker push registry.heroku.com//web heroku open -a . This should allow you to see the Splash UI at port 8050 on the Heroku host for this app name.
$PORT is set appropriately as the EXPOSE docker configuration is not respected (https://devcenter.heroku.com/articles/container-registry-and-runtime#dockerfile-commands-and-runtime):8050 . And the Scrapy spider should now be able to request to the Splash instance previously run.