HUB
Sign inSign up

nullstone/dotnet

By nullstone

•Updated almost 3 years ago

Image
0

2.1K

nullstone/dotnet repository overview

⁠nullstone/dotnet

.NET Base Image that is optimized for production and configured to operate locally the same way. This image is very opinionated; however, not restrictive.

⁠Quick Reference

⁠Production vs Local

This repository builds an image for local use and production use.

The local image configures:

  • Configures environment via ASPNETCORE_ENVIRONMENT=Development env var.
  • Configures listening port via ASPNETCORE_URLS=http://+:5001 env var.
  • On boot, the image runs dotnet restore (means you only need to restart the docker container when updating dependencies)

The production images configures:

  • Configures a non-root user to run app
  • Configures listening port via ASPNETCORE_URLS=http://+:9000 env var.
Tag summary
Recent tags
Content type
Image
Digest
sha256:ac932c768…
Size
83.9 MB
Last updated
almost 3 years ago
docker pull nullstone/dotnet:latest