Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -57,7 +57,6 @@ RUN curl -sLo ~/miniconda.sh https://repo.continuum.io/miniconda/Miniconda3-py39
|
|
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 |
-
RUN chmod -R 777 /root/.cargo/
|
61 |
WORKDIR $HOME/app
|
62 |
|
63 |
#######################################
|
@@ -76,6 +75,8 @@ RUN --mount=target=/root/packages.txt,source=packages.txt \
|
|
76 |
RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
77 |
bash /root/on_startup.sh
|
78 |
|
|
|
|
|
79 |
#######################################
|
80 |
# End root user section
|
81 |
#######################################
|
|
|
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 |
|
62 |
#######################################
|
|
|
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 |
#######################################
|
81 |
# End root user section
|
82 |
#######################################
|