I’m trying to set up my ASP net API to work on Heroku by using a docker container.
Both on Heroku and Docker it doesn’t seem to work and I can’t figure out why.
When I run it outside the docker and locally on my machine however, it runs on localhost:5000
Can someone help me?
As you can see the CMD properly recognises the $PORT environment variable, but it fails to actually run on this port…
Anyone have an idea what’s going on??