DEV Community

Discussion on: Deploying .NET Core to Heroku

Collapse
 
m_kunc profile image
Martin Kunc

Thanks Andrew, this was exactly the problem I run into.
I tried to use EXPOSE $PORT and ENV ASPNETCORE_URLS=http://*:$PORT
but for some strange reason only passing ENV var on command line helped.
Really helpfull post, thank you !