Spaces:
Running
on
Zero
Running
on
Zero
Fixing the rust error
Browse files- Dockerfile +8 -0
Dockerfile
CHANGED
|
@@ -2,6 +2,14 @@ FROM docker.io/nvidia/cuda:12.3.2-cudnn9-devel-ubuntu22.04@sha256:fb1ad20f2552f5
|
|
| 2 |
|
| 3 |
RUN pyenv install 3.10 && pyenv global 3.10 && pyenv rehash
|
| 4 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 5 |
RUN --mount=target=/tmp/requirements.txt,source=requirements.txt pip install --no-cache-dir -r /tmp/requirements.txt
|
| 6 |
|
| 7 |
RUN curl https://pyenv.run | bash
|
|
|
|
| 2 |
|
| 3 |
RUN pyenv install 3.10 && pyenv global 3.10 && pyenv rehash
|
| 4 |
|
| 5 |
+
RUN apt-get update && apt-get install -y \
|
| 6 |
+
build-essential \
|
| 7 |
+
curl \
|
| 8 |
+
git \
|
| 9 |
+
rustc \
|
| 10 |
+
cargo \
|
| 11 |
+
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
+
|
| 13 |
RUN --mount=target=/tmp/requirements.txt,source=requirements.txt pip install --no-cache-dir -r /tmp/requirements.txt
|
| 14 |
|
| 15 |
RUN curl https://pyenv.run | bash
|