Dockerfile 318 B

123456
  1. FROM microsoft/windwosservercore
  2. EXPOSE 80
  3. RUN ["powershell","Invoke-WebRequest","http://nginx.org/download/nginx-1.10.0.zip","-UseBasicParsing","-OutFile","c:\\nginx.zip"]
  4. RUN ["powershell","Expand-Archive","c:\\nginx.zip","-Dest","c:\\nginx"]
  5. WORKDIR c:\\nginx\\nginx-1.10.0
  6. ENTRYPOINT ["powershell",".\\nginx.exe"]