DavisEdward commited on
Commit
d04effc
·
1 Parent(s): f0dd252

Add --prerelease=allow to uv pip install in Dockerfile

Browse files

The --prerelease=allow flag is added to the uv pip install command to support dependencies on pre-release packages, specifically required for openhands-ai.

Files changed (1) hide show
  1. 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
- RUN uv pip install --system --no-cache -r requirements.txt
 
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 . .