From c3f591fc70593f368b02de91ff96f64b96a074da Mon Sep 17 00:00:00 2001 From: jain6196 <32647371+jain6196@users.noreply.github.com> Date: Mon, 23 Sep 2024 11:36:50 +0530 Subject: [PATCH] Updated Dockerfile --- Dockerfile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index d267c4c..e533ab7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:2-alpine +FROM python:3-alpine ENV app /app @@ -6,11 +6,10 @@ RUN mkdir $app WORKDIR $app COPY . $app -RUN pip install -r requirements.txt +RUN pip3 install -r requirements.txt WORKDIR API/ EXPOSE 8094 -ENTRYPOINT ["python", "./api.py"] +ENTRYPOINT ["python3", "./api.py"] CMD ["tail -f /app/logs/scan.log"] -