I'm trying to run a .net core app inside of the docker container. The docker image that I'm using to run a container is mcr.microsoft.com/dotnet/core/sdk:3.1
.
I need to SDK image because I'm trying to build and run the app inside of the same container.
So, I need help with starting the app on port 80 inside of the container. I have tried setting ASPNETCORE_URLS=http://+80
but the app still runs on port 5000.