6 lines
263 B
Docker
6 lines
263 B
Docker
FROM nginx
|
|
RUN apt update && apt install -y git && apt clean
|
|
RUN git clone --depth 1 https://github.com/TuxInvader/nginx-dns /etc/nginx/nginx-dns
|
|
RUN echo "include /etc/nginx/dns.conf" >> /etc/nginx/nginx.conf
|
|
COPY dns.conf domains.txt domains_v6.txt /etc/nginx/
|