diff --git a/.github/workflows/build-docker.yml b/.github/workflows/build-docker.yml index 14936abd927a..c4ce6a9cdf27 100644 --- a/.github/workflows/build-docker.yml +++ b/.github/workflows/build-docker.yml @@ -196,8 +196,7 @@ jobs: # Generate Dockerfile content cat < Dockerfile FROM ${BASE_IMAGE} - COPY --from=${{ env.UV_BASE_IMG }}:latest /uv /usr/local/bin/uv - COPY --from=${{ env.UV_BASE_IMG }}:latest /uvx /usr/local/bin/uvx + COPY --from=${{ env.UV_BASE_IMG }}:latest /uv /uvx /usr/local/bin/ ENTRYPOINT [] CMD ["/usr/local/bin/uv"] EOF diff --git a/Dockerfile b/Dockerfile index 2a4622296115..d6aa983854e1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -41,7 +41,6 @@ RUN cp target/$(cat rust_target.txt)/release/uv /uv \ # RUN strip --strip-all /uv FROM scratch -COPY --from=build /uv /uv -COPY --from=build /uvx /uvx +COPY --from=build /uv /uvx / WORKDIR /io ENTRYPOINT ["/uv"]