anthonychu/aspnet

By anthonychu

Updated over 8 years ago

Image
1

8.4K

anthonychu/aspnet repository overview

Modified version of microsoft/aspnet to enable Web.config overrides via environment variables.

Dockerfile

Use in place of microsoft/aspnet (4.7.1-windowsservercore-1709).

Prefix app settings with APPSETTING_ and connection strings with CONNSTR_.

For example, to override an app setting with key PageTitle and a connection string named DefaultConnection:

$ docker run -d -p 80:80 -e APPSETTING_PageTitle=Foo -e CONNSTR_DefaultConnection="<connection string>" sample-aspnet-4x

Sample Dockerfile:

FROM anthonychu/aspnet:4.7.1-windowsservercore-1709
WORKDIR /inetpub/wwwroot
COPY . .

Tag summary

Content type

Image

Digest

Size

2.6 GB

Last updated

over 8 years ago

docker pull anthonychu/aspnet:4.7.1-windowsservercore-1709