.NET Base Image that is optimized for production and configured to operate locally the same way. This image is very opinionated; however, not restrictive.
Dockerfile linksThis repository builds an image for local use and production use.
The local image configures:
ASPNETCORE_ENVIRONMENT=Development env var.ASPNETCORE_URLS=http://+:5001 env var.dotnet restore (means you only need to restart the docker container when updating dependencies)The production images configures:
ASPNETCORE_URLS=http://+:9000 env var.docker pull nullstone/dotnet:latest