Spaces:
Running
Running
seanpedrickcase
commited on
Commit
·
5888649
1
Parent(s):
97913c4
Now installed dependencies into correct folder in Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -15,9 +15,9 @@ WORKDIR /src
|
|
15 |
# Copy requirements file and install dependencies. Sentence transformers and Bertopic are installed without dependencies so that torch is not reinstalled.
|
16 |
COPY requirements_aws.txt .
|
17 |
|
18 |
-
RUN pip install torch==2.4.0+cpu --index-url https://download.pytorch.org/whl/cpu \
|
19 |
-
&& pip install --no-cache-dir sentence-transformers==3.0.1 --no-deps \
|
20 |
-
&& pip install --no-cache-dir bertopic==0.16.2 --no-deps \
|
21 |
&& pip install --no-cache-dir --target=/install -r requirements_aws.txt
|
22 |
|
23 |
# Add /install to the PYTHONPATH
|
|
|
15 |
# Copy requirements file and install dependencies. Sentence transformers and Bertopic are installed without dependencies so that torch is not reinstalled.
|
16 |
COPY requirements_aws.txt .
|
17 |
|
18 |
+
RUN pip install torch==2.4.0+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu \
|
19 |
+
&& pip install --no-cache-dir --target=/install sentence-transformers==3.0.1 --no-deps \
|
20 |
+
&& pip install --no-cache-dir --target=/install bertopic==0.16.2 --no-deps \
|
21 |
&& pip install --no-cache-dir --target=/install -r requirements_aws.txt
|
22 |
|
23 |
# Add /install to the PYTHONPATH
|