Spaces:
Sleeping
Sleeping
MVPilgrim
commited on
Commit
·
6e035a1
1
Parent(s):
334e4f8
Nvidia base image.
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -1,7 +1,7 @@
|
|
| 1 |
FROM debian:latest as musl-dev
|
| 2 |
RUN apt-get update
|
| 3 |
RUN apt-get install musl
|
| 4 |
-
|
| 5 |
FROM nvidia/cuda:12.6.0-cudnn-runtime-ubuntu24.04 as final
|
| 6 |
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl
|
| 7 |
RUN apt-get install unzip
|
|
@@ -28,7 +28,7 @@ COPY ./multi-qa-MiniLM-L6-cos-v1 /app/multi-qa-MiniLM-L6-cos-v1
|
|
| 28 |
|
| 29 |
RUN mkdir -p /app/inputDocs
|
| 30 |
COPY ./inputDocs/* /app/inputDocs
|
| 31 |
-
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
|
| 32 |
RUN pip install https://files.pythonhosted.org/packages/13/87/e0cb08c2d4bd7d38ab63816b306c8b1e7cfdc0e59bd54462e8b0df069078/semantic_text_splitter-0.6.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
| 33 |
RUN pip show semantic-text-splitter
|
| 34 |
|
|
|
|
| 1 |
FROM debian:latest as musl-dev
|
| 2 |
RUN apt-get update
|
| 3 |
RUN apt-get install musl
|
| 4 |
+
|
| 5 |
FROM nvidia/cuda:12.6.0-cudnn-runtime-ubuntu24.04 as final
|
| 6 |
RUN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl
|
| 7 |
RUN apt-get install unzip
|
|
|
|
| 28 |
|
| 29 |
RUN mkdir -p /app/inputDocs
|
| 30 |
COPY ./inputDocs/* /app/inputDocs
|
| 31 |
+
RUN pip install --break-system-packages --no-cache-dir --upgrade -r /app/requirements.txt
|
| 32 |
RUN pip install https://files.pythonhosted.org/packages/13/87/e0cb08c2d4bd7d38ab63816b306c8b1e7cfdc0e59bd54462e8b0df069078/semantic_text_splitter-0.6.3-cp38-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
|
| 33 |
RUN pip show semantic-text-splitter
|
| 34 |
|