Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -74,7 +74,7 @@ RUN --mount=target=/root/on_startup.sh,source=on_startup.sh,readwrite \
|
|
| 74 |
|
| 75 |
# Install rust, add it to path
|
| 76 |
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
|
| 77 |
-
ENV PATH="
|
| 78 |
RUN chmod -R 777 $HOME/.cargo/
|
| 79 |
|
| 80 |
#######################################
|
|
@@ -83,6 +83,9 @@ RUN chmod -R 777 $HOME/.cargo/
|
|
| 83 |
|
| 84 |
USER user
|
| 85 |
|
|
|
|
|
|
|
|
|
|
| 86 |
# Python packages
|
| 87 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
| 88 |
pip install --no-cache-dir --upgrade -r requirements.txt
|
|
|
|
| 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 |
#######################################
|
|
|
|
| 83 |
|
| 84 |
USER user
|
| 85 |
|
| 86 |
+
# Check rust perms
|
| 87 |
+
RUN chmod -R 777 $HOME/.cargo/
|
| 88 |
+
|
| 89 |
# Python packages
|
| 90 |
RUN --mount=target=requirements.txt,source=requirements.txt \
|
| 91 |
pip install --no-cache-dir --upgrade -r requirements.txt
|