diff --git a/docs/guides/integration/docker.md b/docs/guides/integration/docker.md index 19472ea6b..3e73e85b8 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