Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
@@ -53,9 +53,6 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-py39
|
|
53 |
&& rm ~/miniconda.sh \
|
54 |
&& conda clean -ya
|
55 |
|
56 |
-
# Install rust, add it to path
|
57 |
-
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
58 |
-
ENV PATH="/root/.cargo/bin:${PATH}"
|
59 |
# RUN chmod -R 777 /rust
|
60 |
WORKDIR $HOME/app
|
61 |
|
@@ -75,6 +72,9 @@ RUN --mount=target=/root/packages.txt,source=packages.txt \
|
|
75 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
76 |
bash /root/on_startup.sh
|
77 |
|
|
|
|
|
|
|
78 |
RUN chmod -R 777 /root/.cargo/
|
79 |
|
80 |
#######################################
|
|
|
53 |
&& rm ~/miniconda.sh \
|
54 |
&& conda clean -ya
|
55 |
|
|
|
|
|
|
|
56 |
# RUN chmod -R 777 /rust
|
57 |
WORKDIR $HOME/app
|
58 |
|
|
|
72 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
73 |
bash /root/on_startup.sh
|
74 |
|
75 |
+
# Install rust, add it to path
|
76 |
+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
77 |
+
ENV PATH="/root/.cargo/bin:${PATH}"
|
78 |
RUN chmod -R 777 /root/.cargo/
|
79 |
|
80 |
#######################################
|