Skip to content

Commit

Permalink
Added nginx dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Schiffer committed May 12, 2016
1 parent 91d8ee0 commit 7530f63
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions dockerfiles/nginx/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM nginx:stable-alpine
MAINTAINER "Peter Schiffer" <pschiffe@redhat.com>

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/

0 comments on commit 7530f63

Please sign in to comment.