LeoGitGuy commited on
Commit
cd0d721
1 Parent(s): bbf7997
Files changed (2) hide show
  1. Dockerfile +1 -1
  2. requirements.txt +6 -7
Dockerfile CHANGED
@@ -10,7 +10,7 @@ COPY ./requirements.txt /code/requirements.txt
10
  # Install requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
  RUN pip uninstall torch-scatter torch-sparse torch-geometric torch-cluster --y
13
- RUN pip install torch-scatter -f https://data.pyg.org/whl/torch-1.11.0+cpu.html
14
  # Set up a new user named "user" with user ID 1000
15
  RUN useradd -m -u 1000 user
16
  # Switch to the "user" user
 
10
  # Install requirements.txt
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
  RUN pip uninstall torch-scatter torch-sparse torch-geometric torch-cluster --y
13
+ RUN pip install torch-scatter -f https://data.pyg.org/whl/torch-1.13.0+cpu.html
14
  # Set up a new user named "user" with user ID 1000
15
  RUN useradd -m -u 1000 user
16
  # Switch to the "user" user
requirements.txt CHANGED
@@ -1,12 +1,11 @@
1
  #git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack
2
  farm-haystack
3
- fastapi==0.74.*
4
- requests==2.27.*
5
- sentencepiece==0.1.*
6
- torch==1.11.*
7
- transformers==4.*
8
- uvicorn[standard]==0.17.*
9
- grpcio==1.48.2
10
  numpy
11
  beautifulsoup4
12
 
 
1
  #git+https://github.com/deepset-ai/haystack.git#egg=farm-haystack
2
  farm-haystack
3
+ fastapi
4
+ requests
5
+ torch==1.13.*
6
+ transformers
7
+ uvicorn[standard]
8
+ grpcio
 
9
  numpy
10
  beautifulsoup4
11