This is the example code for my blog post located at https://www.mikefoden.com/hosting-a-dot-net-core-webapi-in-docker/.
After you have cloned this repository, all you need to do is build the docker container and push it to Heroku!
Contact me on Twitter @mikefoden if you need me!