Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
cac33b4
1
Parent(s):
0d5eced
Nvidia base image.
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -2,12 +2,12 @@ FROM debian:latest as musl-dev
|
|
2 |
RUN apt-get update
|
3 |
RUN apt-get install musl
|
4 |
|
5 |
-
FROM python:3.11.5 as python-base
|
6 |
-
RUN apt-get update
|
7 |
-
RUN apt-get install python3
|
8 |
-
|
9 |
FROM nvidia/cuda:12.6.0-cudnn-runtime-ubuntu24.04 as final
|
10 |
-
|
|
|
|
|
|
|
|
|
11 |
COPY / /
|
12 |
|
13 |
COPY --from=musl-dev /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
@@ -19,7 +19,7 @@ COPY --from=python-base /usr/local/bin/pip3.11 /usr/local/bin/pip3.11
|
|
19 |
WORKDIR /app
|
20 |
COPY ./requirements.txt /app/requirements.txt
|
21 |
COPY ./semsearch.py /app/semsearch.py
|
22 |
-
COPY ./startup.sh /app/startup.sh
|
23 |
COPY ./.streamlit/main.css /app/.streamlit/main.css
|
24 |
COPY ./app.py /app/app.py
|
25 |
RUN chmod 755 /app/startup.sh
|
|
|
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 |
+
UN apt-get update && apt-get install --no-install-recommends --no-install-suggests -y curl
|
7 |
+
RUN apt-get install unzip
|
8 |
+
RUN apt-get -y install python3
|
9 |
+
RUN apt-get -y install python3-pip
|
10 |
+
|
11 |
COPY / /
|
12 |
|
13 |
COPY --from=musl-dev /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
|
|
19 |
WORKDIR /app
|
20 |
COPY ./requirements.txt /app/requirements.txt
|
21 |
COPY ./semsearch.py /app/semsearch.py
|
22 |
+
COPY ./startup.sh /app/startup.sh
|
23 |
COPY ./.streamlit/main.css /app/.streamlit/main.css
|
24 |
COPY ./app.py /app/app.py
|
25 |
RUN chmod 755 /app/startup.sh
|