Examples docker commands:
- dotnet publish -c Release
- ll bin/Release/net6.0/publish
- docker build -t console-app-net6 .
- docker run -it --rm console-app-net6
Read more: https://learn.microsoft.com/en-us/dotnet/core/docker/build-container?tabs=linux
https://learn.microsoft.com/en-us/dotnet/core/tools/dotnet-environment-variables
https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0