vankap-grover commited on
Commit
4b56868
·
verified ·
1 Parent(s): f23deb1

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -6
Dockerfile CHANGED
@@ -31,12 +31,11 @@ COPY . /app/env
31
  # For standalone builds, openenv will be installed via pyproject.toml
32
  WORKDIR /app/env
33
 
34
- # Ensure uv is available (for local builds where base image lacks it)
35
- RUN if ! command -v uv >/dev/null 2>&1; then \
36
- curl -LsSf https://astral.sh/uv/install.sh | sh && \
37
- mv /root/.local/bin/uv /usr/local/bin/uv && \
38
- mv /root/.local/bin/uvx /usr/local/bin/uvx; \
39
- fi
40
 
41
  # Install dependencies using uv sync
42
  # If uv.lock exists, use it; otherwise resolve on the fly
 
31
  # For standalone builds, openenv will be installed via pyproject.toml
32
  WORKDIR /app/env
33
 
34
+ # Install a recent uv (the base image may ship an older version that
35
+ # cannot parse the lock-file format produced by newer uv releases).
36
+ RUN curl -LsSf https://astral.sh/uv/install.sh | sh && \
37
+ mv /root/.local/bin/uv /usr/local/bin/uv && \
38
+ mv /root/.local/bin/uvx /usr/local/bin/uvx
 
39
 
40
  # Install dependencies using uv sync
41
  # If uv.lock exists, use it; otherwise resolve on the fly