From 7a0992a49fc7f6d29e03b93294afc314788652e7 Mon Sep 17 00:00:00 2001 From: Zanie Blue Date: Mon, 8 Dec 2025 06:46:20 -0600 Subject: [PATCH] Recommend `UV_NO_DEV` in Docker installs --- docs/guides/integration/docker.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 19472ea6b712c..3e73e85b851c2 100644 --- a/docs/guides/integration/docker.md +++ b/docs/guides/integration/docker.md @@ -165,6 +165,9 @@ If you're using uv to manage your project, you can copy it into the image and in # Copy the project into the image COPY . /app +# Disable development dependencies +ENV UV_NO_DEV=1 + # Sync the project into a new environment, asserting the lockfile is up to date WORKDIR /app RUN uv sync --locked