break out blocklist project

This commit is contained in:
2024-06-06 20:39:38 -04:00
parent 7bfd3331e3
commit 406b17c7d8
8 changed files with 212 additions and 0 deletions

View 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