Skip to content

Commit

Permalink
Merge pull request #321 from SasikaSankalana/dev
Browse files Browse the repository at this point in the history
Added Dockerfile
  • Loading branch information
KingAkeem committed Oct 18, 2023
2 parents fd7ff2c + 879be52 commit 82d5c0a
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Use an official Python 3.11.4 image as the base
FROM python:3.11.4

# Set a working directory within the container
WORKDIR /app

# Clone the TorBot repository from GitHub
RUN git clone https://github.com/DedSecInside/TorBot.git /app

# Install Poetry
RUN pip install --no-cache-dir poetry

# Install TorBot dependencies using Poetry
RUN cd /app && poetry install

# Expose the port specified in the .env file
EXPOSE $SOCKS5_PORT

# Example way to run the container:
# docker run --network="host" your-image-name poetry run python torbot -u https://www.example.com --depth 2 --visualize tree --save json

0 comments on commit 82d5c0a

Please sign in to comment.