We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 13bb66a commit 7080f6dCopy full SHA for 7080f6d
windowsservercore/nginx/Dockerfile
@@ -0,0 +1,16 @@
1
+FROM windowsservercore
2
+MAINTAINER xied75@gmail.com
3
+
4
+ENV NGINX_VERSION 1.11.1
5
6
+RUN setx PATH %PATH%;C:\nginx-%NGINX_VERSION%;
7
+EXPOSE 80 443
8
9
+RUN powershell -Command \
10
+ wget http://nginx.org/download/nginx-%NGINX_VERSION%.zip -outfile \nginx-%NGINX_VERSION%.zip; \
11
+ Expand-Archive -Path \nginx-%NGINX_VERSION%.zip -DestinationPath /; \
12
+ rm /nginx-%NGINX_VERSION%.zip
13
14
+WORKDIR C:/nginx-$NGINX_VERSION
15
16
+CMD c:/nginx-%NGINX_VERSION%/nginx.exe
0 commit comments