paulbricman commited on
Commit
1128560
1 Parent(s): 705cade

fix: Dockerfile

Browse files
Files changed (2) hide show
  1. backend/Dockerfile +1 -0
  2. backend/requirements.txt +2 -1
backend/Dockerfile CHANGED
@@ -7,5 +7,6 @@ RUN apt install -y libsasl2-dev python-dev libldap2-dev libssl-dev
7
  COPY requirements.txt ./requirements.txt
8
  RUN pip3 install pyOpenSSL uvicorn[standard]
9
  RUN pip3 install -r requirements.txt
 
10
  COPY . .
11
  CMD python3 -m uvicorn --host 0.0.0.0 main:app
7
  COPY requirements.txt ./requirements.txt
8
  RUN pip3 install pyOpenSSL uvicorn[standard]
9
  RUN pip3 install -r requirements.txt
10
+ RUN pip3 install transformers -U
11
  COPY . .
12
  CMD python3 -m uvicorn --host 0.0.0.0 main:app
backend/requirements.txt CHANGED
@@ -2,8 +2,9 @@
2
 
3
  torch==1.9.0+cpu
4
  numpy==1.17.4
5
- sentence_transformers==2.0.0
6
  fastapi==0.73.0
7
  Pillow==9.0.0
8
  secrets==1.0.2
9
  slowapi==0.1.5
 
2
 
3
  torch==1.9.0+cpu
4
  numpy==1.17.4
5
+ sentence_transformers==2.1.0
6
  fastapi==0.73.0
7
  Pillow==9.0.0
8
  secrets==1.0.2
9
  slowapi==0.1.5
10
+ python-multipart==0.0.5