escape=`
FROM microsoft/windowsservercore
RUN powershell -Command Add-WindowsFeature Web-Server;
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12; `
Invoke-WebRequest -UseBasicParsing -Uri “https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.3/ServiceMonitor.exe” -OutFile “C:\ServiceMonitor.exe”
RUN powershell Install-WindowsFeature -Name Web-Mgmt-Service
RUN powershell New-ItemProperty -Path HKLM:\SOFTWARE\Microsoft\WebManagement\Server -Name EnableRemoteManagement -Value 1 -Force
RUN powershell Get-Service -Name WMSVC | Start-Service
RUN powershell net user admin Rlink123 /ADD
RUN powershell net localgroup administrators admin /add
EXPOSE 80
ENTRYPOINT [“C:\ServiceMonitor.exe”, “w3svc”]