2016-11-17 09:18:11 +00:00
|
|
|
FROM nginx
|
|
|
|
|
2018-06-11 07:09:47 +00:00
|
|
|
RUN rm -f /etc/nginx/nginx.conf
|
|
|
|
RUN rm -f /etc/nginx/conf.d/default.conf
|
2016-11-17 09:18:11 +00:00
|
|
|
|
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-06-11 12:03:40 +00:00
|
|
|
RUN apt-get update && apt-get -y install dnsmasq
|
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;"
|