Добавлены новые домены + файл включающий в себя все списки
All checks were successful
Production Build / publish (push) Successful in 18s
All checks were successful
Production Build / publish (push) Successful in 18s
This commit is contained in:
@ -2,8 +2,17 @@ FROM fholzer/nginx-brotli:latest
|
||||
|
||||
RUN rm -rf /usr/share/nginx/html/*
|
||||
|
||||
COPY ./ipsets /usr/share/nginx/html/ipsets
|
||||
COPY ./lists /usr/share/nginx/html/lists
|
||||
COPY ./scripts /usr/share/nginx/html/scripts
|
||||
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
RUN find /usr/share/nginx/html/lists -name "*.txt" -exec sed -i 's/#.*//g; /^$/d' {} +
|
||||
|
||||
RUN dos2unix /usr/share/nginx/html/scripts/*.sh && \
|
||||
chmod +x /usr/share/nginx/html/scripts/*.sh
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
ENTRYPOINT ["/usr/share/nginx/html/scripts/entrypoint.sh"]
|
||||
CMD ["-g", "daemon off;"]
|
||||
|
||||
Reference in New Issue
Block a user