Public Repository

Last pushed: 2 years ago
Short Description
Like the nginxinc/docker-nginx official image but with -v /etc/nginx/conf.d
Full Description
FROM debian:wheezy
# cf. https://github.com/nginxinc/docker-nginx/blob/master/Dockerfile

RUN apt-key adv --keyserver pgp.mit.edu --recv-keys 573BFD6B3D8FBC641079A6ABABF5BD827BD9BF62
RUN echo "deb http://nginx.org/packages/mainline/debian/ wheezy nginx" >> /etc/apt/sources.list

RUN apt-get update 
RUN apt-get install -y nginx

RUN ln -sf /dev/stdout /var/log/nginx/access.log
RUN ln -sf /dev/stderr /var/log/nginx/error.log

VOLUME /etc/nginx/conf.d

EXPOSE 80 443

CMD ["nginx", "-g", "daemon off;"]
Docker Pull Command
Owner
chbrown

Comments (0)