Sign inSign up

garytrembath/hello-world

By garytrembath

•Updated over 7 years ago

Image
0

201

garytrembath/hello-world repository overview

This is a basic image that contains Microsoft/IIS and a website with the words Hello-World

docker file

⁠The FROM instruction specifies the base image.

⁠You are extending the microsoft/iis image.

FROM microsoft/iis

RUN ["powershell.exe", "Install-WindowsFeature NET-Framework-45-ASPNET"]
RUN ["powershell.exe", "Install-WindowsFeature Web-Asp-Net45"]

⁠The final instruction copies the site you published into a docker image.

COPY . /inetpub/wwwroot

RUN powershell -NoProfile -Command Remove-Item -Recurse C:\inetpub\wwwroot\iisstart.htm

Tag summary

Content type

Image

Digest

Size

5.4 GB

Last updated

over 7 years ago

docker pull garytrembath/hello-world