github.com/ralexstokes/docker@v1.6.2/builder/parser/testfiles/nginx/Dockerfile (about) 1 FROM ubuntu:14.04 2 MAINTAINER Erik Hollensbe <erik@hollensbe.org> 3 4 RUN apt-get update && apt-get install nginx-full -y 5 RUN rm -rf /etc/nginx 6 ADD etc /etc/nginx 7 RUN chown -R root:root /etc/nginx 8 RUN /usr/sbin/nginx -qt 9 RUN mkdir /www 10 11 CMD ["/usr/sbin/nginx"] 12 13 VOLUME /www 14 EXPOSE 80