Skip to content

Commit

Permalink
chore: install pip and requirements (#1)
Browse files Browse the repository at this point in the history
* install pip

* install pip

* install pip and python 3.11

* install pip and python 3.11

* install requirements
  • Loading branch information
portswigger-tim authored Sep 5, 2023
1 parent b7d9ebd commit cd028cc
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@ COPY ./wrapper /wrapper
RUN apt-get update \
&& apt-get install software-properties-common -y \
&& add-apt-repository 'ppa:deadsnakes/ppa' \
&& apt-get install python3.10 python3.10-distutils -y \
&& apt-get install python3.11 python3.11-venv -y \
&& apt-get clean autoclean \
&& rm -rf /var/lib/{apt,dpkg,cache,log}/ \
&& python3.10 -m pip install -r /wrapper/requirements.txt
&& rm -rf /var/lib/{apt,dpkg,cache,log}

RUN python3.11 -m ensurepip --default-pip \
&& python3.11 -m pip install -r /wrapper/requirements.txt


ENTRYPOINT ["python3.10", "/wrapper/main.py"]

0 comments on commit cd028cc

Please sign in to comment.