mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
22c46af4b3
Docker-DCO-1.1-Signed-off-by: Erik Hollensbe <github@hollensbe.org> (github: erikh)
14 lines
280 B
Docker
14 lines
280 B
Docker
FROM ubuntu:14.04
|
|
MAINTAINER Erik Hollensbe <erik@hollensbe.org>
|
|
|
|
RUN apt-get update && apt-get install nginx-full -y
|
|
RUN rm -rf /etc/nginx
|
|
ADD etc /etc/nginx
|
|
RUN chown -R root:root /etc/nginx
|
|
RUN /usr/sbin/nginx -qt
|
|
RUN mkdir /www
|
|
|
|
CMD ["/usr/sbin/nginx"]
|
|
|
|
VOLUME /www
|
|
EXPOSE 80
|