Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +3 -6
Dockerfile
CHANGED
@@ -72,18 +72,15 @@ RUN --mount=target=/root/packages.txt,source=packages.txt \
|
|
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="$HOME/.cargo/bin:${PATH}"
|
78 |
-
RUN chmod -R 777 $HOME/.cargo/
|
79 |
-
|
80 |
#######################################
|
81 |
# End root user section
|
82 |
#######################################
|
83 |
|
84 |
USER user
|
85 |
|
86 |
-
#
|
|
|
|
|
87 |
RUN chmod -R 777 $HOME/.cargo/
|
88 |
|
89 |
# Python packages
|
|
|
72 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
73 |
bash /root/on_startup.sh
|
74 |
|
|
|
|
|
|
|
|
|
|
|
75 |
#######################################
|
76 |
# End root user section
|
77 |
#######################################
|
78 |
|
79 |
USER user
|
80 |
|
81 |
+
# Rust install
|
82 |
+
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
83 |
+
ENV PATH="$HOME/.cargo/bin:${PATH}"
|
84 |
RUN chmod -R 777 $HOME/.cargo/
|
85 |
|
86 |
# Python packages
|