Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
|
@@ -30,6 +30,9 @@ RUN curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
| 30 |
# Add uv to PATH
|
| 31 |
ENV PATH="/root/.cargo/bin:${PATH}"
|
| 32 |
|
|
|
|
|
|
|
|
|
|
| 33 |
# Use uv instead of pip for installing packages
|
| 34 |
RUN uv pip install --no-cache-dir -r requirements.txt
|
| 35 |
|
|
|
|
| 30 |
# Add uv to PATH
|
| 31 |
ENV PATH="/root/.cargo/bin:${PATH}"
|
| 32 |
|
| 33 |
+
# Create a virtual environment using uv
|
| 34 |
+
RUN uv venv
|
| 35 |
+
|
| 36 |
# Use uv instead of pip for installing packages
|
| 37 |
RUN uv pip install --no-cache-dir -r requirements.txt
|
| 38 |
|