2016-11-17 09:18:11 +00:00
|
|
|
FROM nginx
|
|
|
|
|
|
|
|
RUN rm /etc/nginx/nginx.conf
|
|
|
|
|
|
|
|
RUN rm /etc/nginx/conf.d/default.conf
|
|
|
|
|
2017-05-11 10:07:33 +00:00
|
|
|
COPY conf-prod.conf /etc/nginx/nginx.conf
|
2016-11-17 09:18:11 +00:00
|
|
|
|
2017-05-11 10:07:33 +00:00
|
|
|
COPY static /usr/share/nginx/html
|
|
|
|
|
2017-05-15 05:53:06 +00:00
|
|
|
RUN apt-get update && apt-get -y install vim dnsmasq
|
|
|
|
|
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-12 10:41:35 +00:00
|
|
|
EXPOSE 8080
|