Use COPY
instead of ADD
for files
This commit is contained in:
parent
4920469eb1
commit
b189c534f7
|
@ -7,7 +7,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk
|
||||||
apk -v add tor@edge curl && \
|
apk -v add tor@edge curl && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
RUN tor --version
|
RUN tor --version
|
||||||
ADD torrc /etc/tor/
|
COPY torrc /etc/tor/
|
||||||
|
|
||||||
HEALTHCHECK --timeout=10s --start-period=60s \
|
HEALTHCHECK --timeout=10s --start-period=60s \
|
||||||
CMD curl --fail --socks5-hostname localhost:9150 -I -L 'https://cdnjs.com/' || exit 1
|
CMD curl --fail --socks5-hostname localhost:9150 -I -L 'https://cdnjs.com/' || exit 1
|
||||||
|
|
Loading…
Reference in a new issue