I think this a reasonable solution for Dockerfile + Procfile apps. If you're supplying a Procfile, you're going to be following Heroku's best practices anyways.