Use COPY instead of ADD for files

This commit is contained in:
Peter Dave Hello 2018-07-11 14:34:29 +08:00
parent 4920469eb1
commit b189c534f7

View file

@ -7,7 +7,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk
apk -v add tor@edge curl && \
rm -rf /var/cache/apk/*
RUN tor --version
ADD torrc /etc/tor/
COPY torrc /etc/tor/
HEALTHCHECK --timeout=10s --start-period=60s \
CMD curl --fail --socks5-hostname localhost:9150 -I -L 'https://cdnjs.com/' || exit 1