Deploying Docker, Django, PostgreSQL on Heroku (Failed to bind to $PORT within 60 seconds)

So I am building a Dockerized Django project and I want to deploy it to Heroku, but I am having a lot of issues. My issues are exactly the same as this stackoverflow ques:

Except I cannot use CMD python3 runserver$PORT since I receive an invalid port pair error.

I’m just running

heroku container:push web
heroku container:release web
heroku open

After going to the site it stays loading until it says an error occurred. My log shows the following:

 System check identified no issues (0 silenced).
2019-05-03T11:38:47.708761+00:00 app[web.1]: May 03, 2019 - 11:38:47
2019-05-03T11:38:47.709011+00:00 app[web.1]: Django version 2.2.1, using settings 'loan_app.settings.heroku'
2019-05-03T11:38:47.709012+00:00 app[web.1]: Starting development server at
2019-05-03T11:38:47.709014+00:00 app[web.1]: Quit the server with CONTROL-C.
2019-05-03T11:38:55.505334+00:00 heroku[router]: at=error code=H20 desc="App boot timeout" method=GET path="/" request_id=9037f839-8421-46f2-943a-599ec3cc6cb6 fwd="" dyno= connect= service= status=503 bytes= protocol=https
2019-05-03T11:39:45.091840+00:00 heroku[web.1]: State changed from starting to crashed
2019-05-03T11:39:45.012262+00:00 heroku[web.1]: Error R10 (Boot timeout) -> Web process failed to bind to $PORT within 60 seconds of launch
2019-05-03T11:39:45.012440+00:00 heroku[web.1]: Stopping process with SIGKILL
2019-05-03T11:39:45.082756+00:00 heroku[web.1]: Process exited with status 137

The app works locally through a virtual environment and using Docker but just not on Heroku. Not sure what else to try. You can find my code at:

Maybe I have some glaring problems in my Dockerfile or docker-compose.yml