Skip to content

Commit

Permalink
add docker file
Browse files Browse the repository at this point in the history
Signed-off-by: Nic Boet <[email protected]>
  • Loading branch information
nabbi authored and Trellmor committed Feb 6, 2023
1 parent 85e7056 commit 663cbfe
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
FROM python:latest

ENV SRC="."

VOLUME /bind-adblock

COPY ${SRC}/blocklist.txt ./
COPY ${SRC}/config.yml ./
COPY ${SRC}/update-zonefile.py ./
COPY ${SRC}/requirements.txt ./

RUN pip install -r requirements.txt

CMD ["python3", "./update-zonefile.py", "--no-bind", "/bind-adblock/rpz-adblocker.zone", "rpz.adblocker"]

0 comments on commit 663cbfe

Please sign in to comment.