Update Dockerfile

This commit is contained in:
Wonderfall 2016-05-27 17:55:04 +02:00
parent dd53f09501
commit 5e95950834

View File

@ -110,15 +110,17 @@ RUN echo "@commuedge http://nl.alpinelinux.org/alpine/edge/community" >> /etc/ap
COPY nginx.conf /etc/nginx/conf/nginx.conf COPY nginx.conf /etc/nginx/conf/nginx.conf
COPY run.sh /usr/local/bin/run.sh COPY run.sh /usr/local/bin/run.sh
COPY ngxpasswd /usr/local/bin/ngxpasswd COPY ngxpasswd /usr/local/bin/ngxpasswd
COPY ssl_params_d.conf /conf.d/ssl_params_d.conf
COPY headers_params_d.conf /conf.d/headers_params_d.conf
COPY proxy_params_d.conf /conf.d/proxy_params_d.conf
RUN chmod +x /usr/local/bin/* RUN chmod +x /usr/local/bin/*
EXPOSE 8000 4430 EXPOSE 8000 4430
VOLUME /sites-enabled /conf.d /passwds /certs /var/log/nginx VOLUME /sites-enabled /conf.d /passwds /certs /var/log/nginx
COPY ssl_params_d.conf /conf.d/ssl_params_d.conf
COPY headers_params_d.conf /conf.d/headers_params_d.conf
COPY proxy_params_d.conf /conf.d/proxy_params_d.conf
LABEL description="Secure reverse proxy using nginx" \ LABEL description="Secure reverse proxy using nginx" \
openssl="OpenSSL v${OPENSSL_VERSION}" \ openssl="OpenSSL v${OPENSSL_VERSION}" \
nginx="nginx v${NGINX_VERSION}" nginx="nginx v${NGINX_VERSION}"