2016-11-17 09:18:11 +00:00
|
|
|
FROM nginx
|
|
|
|
|
|
|
|
RUN rm /etc/nginx/nginx.conf
|
|
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
|
2018-02-03 21:56:49 +00:00
|
|
|
COPY temp/nginx.conf /etc/nginx/nginx.conf
|
2017-05-11 10:07:33 +00:00
|
|
|
COPY static /usr/share/nginx/html
|
|
|
|
|
2018-02-22 21:28:29 +00:00
|
|
|
RUN apt-get update && apt-get -y install vim dnsmasq dnsutils iputils-ping
|
2017-06-05 07:22:36 +00:00
|
|
|
RUN rm -fr /usr/share/dns
|
2017-05-15 06:07:30 +00:00
|
|
|
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d/dnsmasq.conf
|
2017-05-15 05:53:06 +00:00
|
|
|
|
2017-05-15 09:12:00 +00:00
|
|
|
CMD service dnsmasq restart && nginx -g "daemon off;"
|