LeoGitGuy
commited on
Commit
•
cd0d721
1
Parent(s):
bbf7997
reqs
Browse files- Dockerfile +1 -1
- 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.
|
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
|
4 |
-
requests
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
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 |
|