nginx-dnswall/Dockerfile

6 lines
263 B
Docker
Raw Normal View History

2024-10-12 19:12:33 +00:00
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/