Created
December 13, 2016 11:17
-
-
Save harishrathi/4e42a3a37dee599fb8a46116118f4724 to your computer and use it in GitHub Desktop.
hosting plain html website in docker
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:latest | |
RUN mkdir C:\site | |
RUN powershell -NoProfile -Command \ | |
Import-module IISAdministration; \ | |
New-IISSite -Name "Site" -PhysicalPath C:\site -BindingInformation "*:8000:" | |
EXPOSE 8000 | |
ADD content/ /site |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment