Commit
·
d04effc
1
Parent(s):
f0dd252
Add --prerelease=allow to uv pip install in Dockerfile
Browse filesThe --prerelease=allow flag is added to the uv pip install command to support dependencies on pre-release packages, specifically required for openhands-ai.
- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -23,7 +23,8 @@ COPY requirements.txt .
|
|
| 23 |
|
| 24 |
# Install Python dependencies with uv
|
| 25 |
# Using --system to install into the system Python (not a venv)
|
| 26 |
-
|
|
|
|
| 27 |
|
| 28 |
# Copy application code
|
| 29 |
COPY . .
|
|
|
|
| 23 |
|
| 24 |
# Install Python dependencies with uv
|
| 25 |
# Using --system to install into the system Python (not a venv)
|
| 26 |
+
# --prerelease=allow is needed for openhands-ai which depends on pre-release packages
|
| 27 |
+
RUN uv pip install --system --no-cache --prerelease=allow -r requirements.txt
|
| 28 |
|
| 29 |
# Copy application code
|
| 30 |
COPY . .
|