소스 검색

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 <m_github@0x26.net>
1Codev 6 달 전
부모
커밋
7cf3050da0
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      docker-example/production-app-platform/Dockerfile
  2. 1 1
      docker-example/production-compose/Dockerfile

+ 1 - 1
docker-example/production-app-platform/Dockerfile

@@ -25,7 +25,7 @@
 # Stage 1: init
 # Stage 1: init
 FROM python:3.11 as 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
 # Install `uv` for faster package boostrapping
 ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
 ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh

+ 1 - 1
docker-example/production-compose/Dockerfile

@@ -4,7 +4,7 @@
 # Stage 1: init
 # Stage 1: init
 FROM python:3.11 as 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
 # Install `uv` for faster package boostrapping
 ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh
 ADD --chmod=755 https://astral.sh/uv/install.sh /install.sh