Created
December 13, 2016 11:41
-
-
Save harishrathi/0be73a68f4b60f8b91ee9a01a2f78e2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM microsoft/iis | |
RUN ["powershell.exe", "Install-WindowsFeature NET-Framework-45-ASPNET"] | |
RUN ["powershell.exe", "Install-WindowsFeature Web-Asp-Net45"] | |
ADD web-app/ c:\\web-app | |
EXPOSE 8081 | |
RUN powershell New-Website -Name 'web-app' -Port 8081 -PhysicalPath 'c:\web-app' -ApplicationPool '.NET v4.5' | |
ENTRYPOINT powershell |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment