You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wow-btc-swap/libp2p-tor/tor.Dockerfile

14 lines
306 B

# set alpine as the base image of the Dockerfile
FROM alpine:latest
# update the package repository and install Tor
RUN apk update && apk add tor
# Set `tor` as the default user during the container runtime
USER tor
EXPOSE 9050
EXPOSE 9051
# Set `tor` as the entrypoint for the image
ENTRYPOINT ["tor"]