FROM alpine:3.20
RUN apk update && apk add tor && adduser -u 705 -D -S -s /bin/nologin hidden
VOLUME /data
USER hidden
CMD ["tor", "-f", "/data/torrc"]