break out blocklist project
This commit is contained in:
5
pihole_blocklist/Dockerfile
Normal file
5
pihole_blocklist/Dockerfile
Normal file
@@ -0,0 +1,5 @@
|
||||
FROM nginx
|
||||
COPY blocklists.txt /usr/share/nginx/html
|
||||
RUN for url in $(cat /usr/share/nginx/html/blocklists.txt);\
|
||||
do echo >> /usr/share/nginx/html/hosts && curl $url >> /usr/share/nginx/html/hosts;\
|
||||
done
|
||||
Reference in New Issue
Block a user