Heroku docker support is still in beta: https://devcenter.heroku.com/articles/container-registry-and...
Outside of that you're limited to specific stacks.
Outside of that you're limited to specific stacks.
You can use our officially supported languages: https://devcenter.heroku.com/articles/buildpacks#officially-...
You can create a Docker image and deploy it via our container registry: https://devcenter.heroku.com/articles/container-registry-and...
You can create your own buildpack: https://devcenter.heroku.com/articles/buildpacks#creating-a-...
Or use a buildpack created by the community: https://elements.heroku.com/buildpacks