byoung-hf commited on
Commit
3db6a5a
·
verified ·
1 Parent(s): f23688f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -3
Dockerfile CHANGED
@@ -54,9 +54,8 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
54
  && rm -rf /var/lib/apt/lists/* \
55
  && npm cache clean --force
56
 
57
- # Install uv in runtime
58
- RUN curl -LsSf https://astral.sh/uv/install.sh | sh
59
- ENV PATH="/root/.local/bin:$PATH"
60
 
61
  # Create non-root user early
62
  RUN useradd -m -u 5678 appuser
 
54
  && rm -rf /var/lib/apt/lists/* \
55
  && npm cache clean --force
56
 
57
+ # Install uv and uvx system-wide to /usr/local/bin so all users can run them
58
+ RUN curl -LsSf https://astral.sh/uv/install.sh | UV_INSTALL_DIR=/usr/local/bin sh
 
59
 
60
  # Create non-root user early
61
  RUN useradd -m -u 5678 appuser