Add shallow clone of cache-domains

Added shallow clone to allow for offline startup
This commit is contained in:
James Kinsman 2020-02-23 14:03:02 +00:00 committed by GitHub
parent 67e4bef59f
commit c5c444a32c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,7 @@ RUN mkdir -m 755 -p /data/cachedomains ;\
apt-get update ;\
apt-get install -y jq git ;
RUN git clone --depth=1 --no-single-branch https://github.com/uklans/cache-domains/ /data/cache-domains
VOLUME ["/data/logs", "/data/cache", "/data/cachedomains", "/var/www"]