From e9d07654727ea47b18a4b5a88f2704b957ce402a Mon Sep 17 00:00:00 2001 From: amandinemart1 Date: Fri, 20 Dec 2024 14:09:37 +0100 Subject: [PATCH] addition Dockerfile --- Dockerimage/Dockerfile | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 Dockerimage/Dockerfile diff --git a/Dockerimage/Dockerfile b/Dockerimage/Dockerfile new file mode 100644 index 0000000..0ce3eea --- /dev/null +++ b/Dockerimage/Dockerfile @@ -0,0 +1,12 @@ +FROM python:3.9-slim + +# Install Sublist3r +RUN apt-get update && apt-get install -y git +RUN git clone https://github.com/aboul3la/Sublist3r.git +RUN pip install -r Sublist3r/requirements.txt + +# Make port 80 available to the world outside this container +EXPOSE 80 + +# Run Sublist3r when the container launches +ENTRYPOINT [ "sh", "-c", "python", "Sublist3r/sublist3r.py" ] \ No newline at end of file