Dockerfiles/tor-alpine/Dockerfile

9 lines
158 B
Text
Raw Normal View History

2022-03-05 22:06:04 +00:00
FROM alpine:latest
# Install tor
RUN apk add tor
# Run tor with config file /etc/tor/torrc
USER tor
WORKDIR /var/lib/tor
CMD ["tor", "-f", "/etc/tor/torrc"]