6 lines
212 B
Docker
6 lines
212 B
Docker
FROM debian:bookworm
|
|
RUN apt update && apt -y install tor
|
|
ARG BIND_ADDRESS="10.2.0.3"
|
|
COPY ./torrc /etc/tor/torrc
|
|
RUN sed -i "s/{bind-address}/${BIND_ADDRESS}/" /etc/tor/torrc
|
|
CMD [ "bash", "-c", "sleep 5; tor" ] |