/containerize-aspnet-poc

Examples of containers with .NET

Primary LanguageDockerfile

Docker-Container-DotNet

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/host/web-host?view=aspnetcore-6.0#host-configuration-values

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/configuration/?view=aspnetcore-7.0

https://learn.microsoft.com/en-us/aspnet/core/fundamentals/environments?view=aspnetcore-7.0&source=recommendations