fix: exclude dev dependencies from production Docker image (#23562)

This commit is contained in:
-LAN- 2025-08-07 20:35:32 +08:00 committed by GitHub
parent 305ea0a2d5
commit 55487ba0c6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -19,7 +19,7 @@ RUN apt-get update \
# Install Python dependencies
COPY pyproject.toml uv.lock ./
RUN uv sync --locked
RUN uv sync --locked --no-dev
# production stage
FROM base AS production