2019-03-20 20:41:48 +03:00
|
|
|
FROM mcr.microsoft.com/dotnet/framework/aspnet:4.7.2-windowsservercore-1803
|
2018-05-09 01:36:50 +03:00
|
|
|
|
|
|
|
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
|
|
|
|
|
|
|
# Install Windows components required for WCF service hosted on IIS
|
|
|
|
RUN Add-WindowsFeature NET-WCF-TCP-Activation45; \
|
|
|
|
Add-WindowsFeature NET-WCF-HTTP-Activation45; \
|
|
|
|
Add-WindowsFeature Web-WebSockets
|
|
|
|
|
|
|
|
# Enable net.tcp protocol for default web site on IIS
|
|
|
|
RUN windows\system32\inetsrv\appcmd.exe set app 'Default Web Site/' /enabledProtocols:"http,net.tcp"
|
|
|
|
EXPOSE 808
|