Spaces:
Sleeping
Sleeping
Commit
·
2986659
1
Parent(s):
4564f23
Turned around Docker install commands
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -15,11 +15,11 @@ WORKDIR /src
|
|
15 |
COPY requirements_aws.txt .
|
16 |
|
17 |
RUN pip uninstall -y typing_extensions \
|
18 |
-
&& pip install
|
19 |
-
&& pip install torch==2.5.1+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu
|
20 |
-
&& pip install
|
21 |
-
&& pip install
|
22 |
-
&& pip install
|
23 |
|
24 |
# Add /install to the PYTHONPATH
|
25 |
ENV PYTHONPATH="/install:${PYTHONPATH}"
|
|
|
15 |
COPY requirements_aws.txt .
|
16 |
|
17 |
RUN pip uninstall -y typing_extensions \
|
18 |
+
&& pip install --no-cache-dir --target=/install typing_extensions==4.12.2 \
|
19 |
+
&& pip install torch==2.5.1+cpu --target=/install --index-url https://download.pytorch.org/whl/cpu \
|
20 |
+
&& pip install --no-cache-dir --target=/install sentence-transformers==3.3.1 --no-deps \
|
21 |
+
&& pip install --no-cache-dir --target=/install -r requirements_aws.txt \
|
22 |
+
&& pip install --no-cache-dir --target=/install gradio==5.6.0
|
23 |
|
24 |
# Add /install to the PYTHONPATH
|
25 |
ENV PYTHONPATH="/install:${PYTHONPATH}"
|