From 7530f637fd2df8b23d201e7c9af4912649347b59 Mon Sep 17 00:00:00 2001 From: Peter Schiffer Date: Thu, 12 May 2016 15:40:35 +0200 Subject: [PATCH] Added nginx dockerfile --- dockerfiles/nginx/Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 dockerfiles/nginx/Dockerfile diff --git a/dockerfiles/nginx/Dockerfile b/dockerfiles/nginx/Dockerfile new file mode 100644 index 0000000..1678bde --- /dev/null +++ b/dockerfiles/nginx/Dockerfile @@ -0,0 +1,8 @@ +FROM nginx:stable-alpine +MAINTAINER "Peter Schiffer" + +LABEL RUN="docker run -d -p 80:80 --restart always --name NAME IMAGE" + +RUN apk add --update git && rm -rf /var/cache/apk/* + +RUN rm -rf /usr/share/nginx/html/* && git clone -b gh-pages https://github.com/josefkarasek/docker101.git /usr/share/nginx/html/