From 7cf3050da0efd7be82d628e4032993480336b921 Mon Sep 17 00:00:00 2001 From: 1Codev Date: Tue, 12 Nov 2024 18:57:58 +0100 Subject: [PATCH] Path change after Astral 0.5.0 update (#4336) * Astral 0.5.0 path change https://github.com/astral-sh/uv/releases Use XDG (i.e. ~/.local/bin) instead of the Cargo home directory in the installer * Fix path in production-app-platform example --------- Co-authored-by: Masen Furer --- docker-example/production-app-platform/Dockerfile | 2 +- docker-example/production-compose/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docker-example/production-app-platform/Dockerfile b/docker-example/production-app-platform/Dockerfile index b0f6c69fcd..3dd9f1fedf 100644 --- a/docker-example/production-app-platform/Dockerfile +++ b/docker-example/production-app-platform/Dockerfile @@ -25,7 +25,7 @@ # Stage 1: init FROM python:3.11 as init -ARG uv=/root/.cargo/bin/uv +ARG uv=/root/.local/bin/uv # Install `uv` for faster package boostrapping ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh diff --git a/docker-example/production-compose/Dockerfile b/docker-example/production-compose/Dockerfile index f73473df7a..42345af402 100644 --- a/docker-example/production-compose/Dockerfile +++ b/docker-example/production-compose/Dockerfile @@ -4,7 +4,7 @@ # Stage 1: init FROM python:3.11 as init -ARG uv=/root/.cargo/bin/uv +ARG uv=/root/.local/bin/uv # Install `uv` for faster package boostrapping ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh