Removing /etc/hosts because this does not work in docker.

This commit is contained in:
Roland 2022-02-04 10:37:59 -07:00
parent f27e9fdf63
commit f9b98efa8b
No known key found for this signature in database
GPG key ID: 9D6DBD3ACF11AB93

View file

@ -17,7 +17,4 @@ COPY docker/archive /app
# Install Readability too
RUN npm install -g 'git+https://github.com/pirate/readability-extractor'
# Block ads using /etc/hosts
RUN wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts -O /etc/hosts
ENTRYPOINT [ "python3", "/app/main.py"]