Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +6 -3
Dockerfile
CHANGED
@@ -11,9 +11,12 @@ RUN apt-get update -y && \
|
|
11 |
apt-get remove -y python3 && \
|
12 |
alias pip='python3.11 -m pip' && \
|
13 |
alias python='python3.11' && \
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
17 |
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
|
18 |
ENV PATH="/root/.cargo/bin:${PATH}"
|
19 |
|
|
|
11 |
apt-get remove -y python3 && \
|
12 |
alias pip='python3.11 -m pip' && \
|
13 |
alias python='python3.11' && \
|
14 |
+
apt-get install -y python3.11 python3-pip
|
15 |
+
|
16 |
+
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 999 \
|
17 |
+
&& update-alternatives --config python3 && ln -s /usr/bin/python3 /usr/bin/python
|
18 |
+
|
19 |
+
RUN pip install packaging
|
20 |
RUN curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain nightly -y
|
21 |
ENV PATH="/root/.cargo/bin:${PATH}"
|
22 |
|