Browse Source

Slightly reduce image size by removing pip cache

build-fix
IamTheFij 2 years ago
parent
commit
176feef895
  1. 2
      Dockerfile

2
Dockerfile

@ -18,7 +18,7 @@ ENV CF_VERSION=2.6.0
ADD https://raw.githubusercontent.com/cloudflare/python-cloudflare/$CF_VERSION/examples/example_update_dynamic_dns.py ./update_ddns.py
RUN chmod +x ./update_ddns.py
RUN pip install cloudflare==$CF_VERSION
RUN pip install --no-cache-dir cloudflare==$CF_VERSION
ENV DOMAIN=""

Loading…
Cancel
Save