Skip to content

Commit

Permalink
split requirements.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
leonlolly committed Dec 11, 2023
1 parent 8198ed5 commit 96b7e44
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 10 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ WORKDIR /home/wannadb
RUN pip install --use-pep517 torch==1.10.0

# Install dependencies
COPY requirements.txt requirements.txt
RUN pip install --use-pep517 -r requirements.txt
COPY core-requirements.txt core-requirements.txt
RUN pip install --use-pep517 -r core-requirements.txt
COPY backend-requirements.txt backend-requirements.txt
RUN pip install --use-pep517 -r backend-requirements.txt
##################################
## do not change above ##
## changes above cause ##
Expand Down
13 changes: 13 additions & 0 deletions backend-requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
pip==23.3.1
flask==3.0.0
Flask_Cors==4.0.0
gunicorn==21.2.0
psycopg2~=2.9.9
bcrypt~=4.0.1
PyJWT~=2.8.0
jupyter~=1.0.0
wheel~=0.40.0
tornado~=6.4
setuptools~=69.0.2
werkzeug~=3.0.1
pylint~=3.0.3
9 changes: 1 addition & 8 deletions requirements.txt → core-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -230,11 +230,4 @@ wasabi==0.10.1
# thinc

# The following packages are considered to be unsafe in a requirements file:
# setuptools

flask==3.0.0
Flask_Cors==4.0.0
gunicorn==21.2.0
psycopg2~=2.9.9
bcrypt~=4.0.1
PyJWT~=2.8.0
# setuptools

0 comments on commit 96b7e44

Please sign in to comment.