| 12345678910111213141516171819202122 | FROM alpine:3.8RUN apk add --no-cache torRUN adduser -S onionRUN mkdir -m u=rwx,g=,o= /onion-service && chown onion /onion-serviceVOLUME /onion-serviceCOPY torrc.template /RUN chmod a+r /torrc.templateENV VERSION 3ENV VIRTUAL_PORT 80ENV TARGET 127.0.0.1:8080COPY entrypoint.sh /RUN chmod a+rx /entrypoint.shENTRYPOINT ["/entrypoint.sh"]USER onionCMD ["tor", "-f", "/tmp/torrc"]
 |