To optimize WCF docker support experience in VS, update wcf docker image based on aspnet base image, which will be used by default for IIS hosted scenario (WCF service application project).
This commit is contained in:
Родитель
095ce8973b
Коммит
84d182f918
|
@ -1,15 +1,8 @@
|
|||
FROM microsoft/dotnet-framework:4.7
|
||||
FROM microsoft/aspnet:4.7
|
||||
|
||||
SHELL ["powershell", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
|
||||
|
||||
# install WCF services required components.
|
||||
RUN Add-WindowsFeature Web-Server; \
|
||||
Add-WindowsFeature NET-WCF-TCP-Activation45; \
|
||||
RUN Add-WindowsFeature NET-WCF-TCP-Activation45; \
|
||||
Add-WindowsFeature NET-WCF-HTTP-Activation45; \
|
||||
Add-WindowsFeature Web-WebSockets
|
||||
|
||||
ADD ServiceMonitor.exe /ServiceMonitor.exe
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc"]
|
||||
Add-WindowsFeature Web-WebSockets
|
Загрузка…
Ссылка в новой задаче