Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -3,8 +3,12 @@ FROM nvidia/cuda:12.3.1-devel-ubuntu20.04
|
|
3 |
ENV DEBIAN_FRONTEND=noninteractive
|
4 |
|
5 |
RUN apt-get update -y && \
|
|
|
|
|
6 |
apt-get upgrade -y && \
|
7 |
apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
|
|
|
|
|
8 |
pip install packaging
|
9 |
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
|
10 |
ENV PATH="/root/.cargo/bin:${PATH}"
|
|
|
3 |
ENV DEBIAN_FRONTEND=noninteractive
|
4 |
|
5 |
RUN apt-get update -y && \
|
6 |
+
add-apt-repository ppa:deadsnakes/ppa && \
|
7 |
+
apt-get update -y && \
|
8 |
apt-get upgrade -y && \
|
9 |
apt-get install -y aria2 libgl1 libglib2.0-0 wget git git-lfs python3-pip python-is-python3 ffmpeg curl && \
|
10 |
+
apt-get uninstall -y python3 && \
|
11 |
+
apt-get install -y python3.11
|
12 |
pip install packaging
|
13 |
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
|
14 |
ENV PATH="/root/.cargo/bin:${PATH}"
|