mirror of
https://gitgud.io/fatchan/haproxy-protection.git
synced 2025-05-09 02:05:37 +00:00
10 lines
238 B
Docker
10 lines
238 B
Docker
FROM alpine:latest
|
|
RUN apk update && apk add tor
|
|
COPY ./tor/torrc.default /etc/tor/torrc
|
|
RUN chmod -R 700 /var/lib/tor/
|
|
RUN chown -R tor /var/lib/tor/
|
|
RUN chown -R tor /etc/tor
|
|
USER tor
|
|
ENTRYPOINT [ "tor" ]
|
|
CMD [ "-f", "/etc/tor/torrc" ]
|