Add dockerfile for Windows Server 2025
This commit is contained in:
Родитель
8697f04df6
Коммит
5b97495518
|
@ -0,0 +1,10 @@
|
|||
# escape=`
|
||||
FROM mcr.microsoft.com/windows/servercore:ltsc2025
|
||||
|
||||
RUN powershell -Command `
|
||||
Add-WindowsFeature Web-Server; `
|
||||
Invoke-WebRequest -UseBasicParsing -Uri "https://dotnetbinaries.blob.core.windows.net/servicemonitor/2.0.1.10/ServiceMonitor.exe" -OutFile "C:\ServiceMonitor.exe"
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["C:\\ServiceMonitor.exe", "w3svc"]
|
Загрузка…
Ссылка в новой задаче