Skip to content

Commit

Permalink
ci: removed dependency pinning
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 31, 2024
1 parent 76c993c commit 9159913
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
4 changes: 1 addition & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,12 @@ WORKDIR /home/cfpredictor
COPY run.py requirements.txt /home/cfpredictor/
COPY app ./app

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

USER cfpredictor

WORKDIR /home/cfpredictor

CMD ["python3", "run.py"]
10 changes: 5 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
gunicorn
matplotlib
beautifulsoup4==4.8.1
numpy==1.22.0
pandas==1.4.3
requests==2.32.0
sklearn==0.0
beautifulsoup4
numpy
pandas
requests
sklearn
html5lib
flask

0 comments on commit 9159913

Please sign in to comment.