- launch with profile http
dotnet run --launch-profile http
- open browser
http://localhost:5025/swagger/index.html
- build release with out directory
dotnet publish -c Release -o out
1.build image
docker build -t dot8-todo-image -f Dockerfile .
2.run image
docker run -p 8080:8080 dot8-todo-image
learn more here