An image for Asp.Net project which is based on DevExtreme control.
86
FROM dx_base
# Next, this Dockerfile creates a directory for your application
RUN mkdir C:\www
# configure the new site in IIS.
RUN powershell -NoProfile -Command \
Import-module IISAdministration; \
New-IISSite -Name "ASPNET" -PhysicalPath C:\www -BindingInformation "*:8000:"
# This instruction tells the container to listen on port 8000.
EXPOSE 8000
docker build -t dxdocker .
docker images
docker run -d -v C:\dxweb:C:\www -p 8000:8000 --name dxweb dxdocker
docker inspect -f "{{ .NetworkSettings.Networks.nat.IPAddress }}" dxweb
Content type
Image
Digest
Size
6.9 GB
Last updated
over 9 years ago
docker pull lorry/dx_base:dx-16.1.2