mirror of
https://github.com/atoy3731/adguard-sync.git
synced 2024-11-10 09:12:48 +08:00
cd8338fbd0
* Add capability for advanced sync of other elements * Revert default refresh interval * Add fix for secondary_blocked_services * Add logging for modified entry * Update language * Bug fix
21 lines
404 B
Docker
21 lines
404 B
Docker
FROM alpine:3.13
|
|
|
|
ENV PYTHONUNBUFFERED=1
|
|
|
|
RUN apk update && \
|
|
apk add python3 curl && \
|
|
curl --silent --show-error --retry 5 https://bootstrap.pypa.io/get-pip.py | python3 && \
|
|
apk del curl
|
|
|
|
COPY requirements.txt /tmp/requirements.txt
|
|
|
|
RUN pip3 install -r /tmp/requirements.txt && \
|
|
rm -f /tmp/requirements.txt
|
|
|
|
COPY src /opt/app
|
|
|
|
WORKDIR /opt/app
|
|
|
|
ENTRYPOINT ["python3"]
|
|
CMD ["app.py"]
|
|
|