mirror of
https://github.com/comit-network/xmr-btc-swap.git
synced 2025-02-22 15:49:52 -05:00
14 lines
306 B
Docker
14 lines
306 B
Docker
![]() |
# 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"]
|