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:53:02 +00:00
|
|
|
COPY tmp/nginx.conf /etc/nginx/nginx.conf
|
2017-05-11 10:07:33 +00:00
|
|
|
COPY static /usr/share/nginx/html
|
|
|
|
|
2017-05-15 06:33:51 +00:00
|
|
|
RUN apt-get update && apt-get -y install vim dnsmasq dnsutils
|
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;"
|
|
|
|
|
2017-06-02 07:29:14 +00:00
|
|
|
EXPOSE 80
|