Re:Ask HN: Do people still use Heroku and the like?
by photonios on Saturday February 29, 2020 @10:24AM
(#22450978)
There are actually two ways to do Docker with Heroku.
You can let Heroku build your image during the deployment phase by simply having a `Dockerfile` in your repository [1].
Or, you can build the image yourself on your CI service and push it to Heroku's registry and then trigger a release. This last option is useful if you want to run tests against the exact image that is going to be deployed without having to rebuilt it [2].
You can let Heroku build your image during the deployment phase by simply having a `Dockerfile` in your repository [1].
Or, you can build the image yourself on your CI service and push it to Heroku's registry and then trigger a release. This last option is useful if you want to run tests against the exact image that is going to be deployed without having to rebuilt it [2].
[1] https://blog.heroku.com/build-docker-images-heroku-yml [2] https://devcenter.heroku.com/articles/container-registry-and...