Fix shallow clone

Shallow clone to the right directory.
This commit is contained in:
James Kinsman 2020-02-28 08:05:56 +00:00 committed by GitHub
parent db85960b0e
commit b3bb2205d3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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