We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a45212 commit 87a5a99Copy full SHA for 87a5a99
src_deploy/gpu.Dockerfile
@@ -65,9 +65,9 @@ WORKDIR /home/$NB_USER
65
# Expose sglang server port
66
EXPOSE 8080
67
68
-# Install uv directly from GitHub
69
-RUN curl -LsSf https://astral.sh/uv/install.sh | sh
70
-ENV PATH="/home/$NB_USER/.cargo/bin:$PATH"
+# Install uv using the official image instead of install script
+COPY --from=ghcr.io/astral-sh/uv:latest /usr/local/bin/uv /usr/local/bin/uv
+COPY --from=ghcr.io/astral-sh/uv:latest /usr/local/bin/uvx /usr/local/bin/uvx
71
72
# Test that uv works
73
RUN uv --version
0 commit comments