Spaces:
Running
Running
MVPilgrim
commited on
Commit
·
469a6c2
1
Parent(s):
088dce3
Nvidia base image.
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
FROM debian:latest as musl-dev
|
2 |
RUN apt-get update
|
3 |
#RUN apt-get install musl
|
4 |
-
COPY --from=musl-dev /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
5 |
|
6 |
FROM python:3.11.5 as python-base
|
7 |
|
@@ -9,6 +8,8 @@ FROM nvidia/cuda:12.6.0-cudnn-runtime-ubuntu24.04 as final
|
|
9 |
RUN apt-get update
|
10 |
COPY / /
|
11 |
|
|
|
|
|
12 |
COPY --from=python-base /usr/local/lib/python3.11 /usr/local/lib/python3.11
|
13 |
COPY --from=python-base /usr/local/bin/python3.11 /usr/local/bin/python3.11
|
14 |
COPY --from=python-base /usr/local/bin/pip3.11 /usr/local/bin/pip3.11
|
|
|
1 |
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 |
|
|
|
8 |
RUN apt-get update
|
9 |
COPY / /
|
10 |
|
11 |
+
COPY --from=musl-dev /usr/lib/x86_64-linux-musl/libc.so /lib/libc.musl-x86_64.so.1
|
12 |
+
|
13 |
COPY --from=python-base /usr/local/lib/python3.11 /usr/local/lib/python3.11
|
14 |
COPY --from=python-base /usr/local/bin/python3.11 /usr/local/bin/python3.11
|
15 |
COPY --from=python-base /usr/local/bin/pip3.11 /usr/local/bin/pip3.11
|