hiddencontainer/Dockerfile
0x1a8510f2 7929a19d83
All checks were successful
build-and-push / docker (push) Successful in 1m4s
chore: run tor as non-root user
2024-11-14 01:32:19 +01:00

9 lines
155 B
Docker

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"]