Skip to content

Commit 87a5a99

Browse files
[add] optimized github actions and dockerfile
1 parent 3a45212 commit 87a5a99

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src_deploy/gpu.Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,9 @@ WORKDIR /home/$NB_USER
6565
# Expose sglang server port
6666
EXPOSE 8080
6767

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"
68+
# Install uv using the official image instead of install script
69+
COPY --from=ghcr.io/astral-sh/uv:latest /usr/local/bin/uv /usr/local/bin/uv
70+
COPY --from=ghcr.io/astral-sh/uv:latest /usr/local/bin/uvx /usr/local/bin/uvx
7171

7272
# Test that uv works
7373
RUN uv --version

0 commit comments

Comments
 (0)