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"] -