Docker nginx
This commit is contained in:
parent
8815dece66
commit
a9d98b77f6
|
@ -6,7 +6,7 @@ RUN rm /etc/nginx/conf.d/default.conf
|
||||||
COPY temp/nginx.conf /etc/nginx/nginx.conf
|
COPY temp/nginx.conf /etc/nginx/nginx.conf
|
||||||
COPY static /usr/share/nginx/html
|
COPY static /usr/share/nginx/html
|
||||||
|
|
||||||
RUN apt-get update && apt-get -y install vim dnsmasq dnsutils iptools-ping
|
RUN apt-get update && apt-get -y install vim dnsmasq dnsutils iputils-ping
|
||||||
RUN rm -fr /usr/share/dns
|
RUN rm -fr /usr/share/dns
|
||||||
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d/dnsmasq.conf
|
RUN echo listen-address=127.0.0.1 > /etc/dnsmasq.d/dnsmasq.conf
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue