From cd2be6a2d322656033041ff723f4dc41b06b143e Mon Sep 17 00:00:00 2001 From: Ozeliurs Date: Fri, 20 Dec 2024 14:55:41 +0100 Subject: [PATCH] refactor(Dockerfile): replace ENTRYPOINT with CMD to allow for easier command override --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 523e917..073a4a6 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ FROM python:3.9-slim # Install Sublist3r -RUN apt-get update && apt-get install -y git +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 @@ -9,4 +9,4 @@ RUN pip install -r Sublist3r/requirements.txt EXPOSE 80 # Run Sublist3r when the container launches -ENTRYPOINT [ "sh", "-c", "python", "Sublist3r/sublist3r.py" ] \ No newline at end of file +CMD [ "python", "Sublist3r/sublist3r.py" ]