Fix /etc/tor/torrc
config file owner to tor user
This commit is contained in:
parent
c593940b1f
commit
a63920f51b
1 changed files with 1 additions and 1 deletions
|
@ -10,7 +10,7 @@ RUN echo '@edge http://dl-cdn.alpinelinux.org/alpine/edge/community' >> /etc/apk
|
|||
chmod 700 /var/lib/tor && \
|
||||
rm -rf /var/cache/apk/* && \
|
||||
tor --version
|
||||
COPY torrc /etc/tor/
|
||||
COPY --chown=tor:root torrc /etc/tor/
|
||||
|
||||
HEALTHCHECK --timeout=10s --start-period=60s \
|
||||
CMD curl --fail --socks5-hostname localhost:9150 -I -L 'https://www.facebookcorewwwi.onion/' || exit 1
|
||||
|
|
Loading…
Reference in a new issue