Skip to content

Commit

Permalink
ci: using venv
Browse files Browse the repository at this point in the history
Signed-off-by: Rajdeep Roy Chowdhury <[email protected]>
  • Loading branch information
Razdeep committed May 28, 2024
1 parent 5fd436a commit 2740456
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ COPY app ./app
COPY requirements.txt .

RUN apk add --update --no-cache python3 && \
python3 -m ensurepip --upgrade && \
python3 -m pip --no-cache install -r requirements.txt
python3 -m venv .venv && \
/home/cfpredictor/.venv/bin/pip3 --no-cache install -r requirements.txt

USER cfpredictor

Expand Down

0 comments on commit 2740456

Please sign in to comment.