diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index caf29042c..93586161c 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -74,7 +74,7 @@ official distroless Docker image: ```dockerfile title="Dockerfile" FROM python:3.12-slim-bookworm -COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ ``` Or, with the installer: @@ -100,7 +100,7 @@ Note this requires `curl` to be available. In either case, it is best practice to pin to a specific uv version, e.g., with: ```dockerfile -COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:0.4.20 /uv /uvx /bin/ ``` Or, with the installer: @@ -342,7 +342,7 @@ a big time saver. ```dockerfile title="Dockerfile" # Install uv FROM python:3.12-slim -COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Change the working directory to the `app` directory WORKDIR /app @@ -388,7 +388,7 @@ For example: ```dockerfile title="Dockerfile" # Install uv FROM python:3.12-slim AS builder -COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Change the working directory to the `app` directory WORKDIR /app diff --git a/docs/guides/integration/fastapi.md b/docs/guides/integration/fastapi.md index c2d6aef3e..23fe5f7ca 100644 --- a/docs/guides/integration/fastapi.md +++ b/docs/guides/integration/fastapi.md @@ -96,7 +96,7 @@ To deploy the FastAPI application with Docker, you can use the following `Docker FROM python:3.12-slim # Install uv. -COPY --from=ghcr.io/astral-sh/uv:latest /uv /bin/uv +COPY --from=ghcr.io/astral-sh/uv:latest /uv /uvx /bin/ # Copy the application into the container. COPY . /app