fix: exclude dev dependencies from production Docker image (#23562)
This commit is contained in:
parent
305ea0a2d5
commit
55487ba0c6
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue