Spaces:
Running
Running
Fix uv installation command in Dockerfile
Browse filesCorrect the syntax for installing uv and remove unnecessary --yes flag.
- Dockerfile +2 -2
Dockerfile
CHANGED
|
@@ -21,10 +21,10 @@ RUN pip install --upgrade pip setuptools wheel \
|
|
| 21 |
&& pip install .
|
| 22 |
|
| 23 |
# ----------------------------------------------------------
|
| 24 |
-
# Install uv system-wide (
|
| 25 |
# ----------------------------------------------------------
|
| 26 |
RUN curl -LsSf https://astral.sh/uv/install.sh -o uv-installer.sh && \
|
| 27 |
-
sh uv-installer.sh --
|
| 28 |
rm uv-installer.sh
|
| 29 |
|
| 30 |
# Check uv installation
|
|
|
|
| 21 |
&& pip install .
|
| 22 |
|
| 23 |
# ----------------------------------------------------------
|
| 24 |
+
# Install uv system-wide (correct syntax, no --yes)
|
| 25 |
# ----------------------------------------------------------
|
| 26 |
RUN curl -LsSf https://astral.sh/uv/install.sh -o uv-installer.sh && \
|
| 27 |
+
sh uv-installer.sh --install-dir /usr/local/bin && \
|
| 28 |
rm uv-installer.sh
|
| 29 |
|
| 30 |
# Check uv installation
|