mirror of https://github.com/langgenius/dify.git
fix: exclude dev dependencies from production Docker image (#23562)
This commit is contained in:
parent
305ea0a2d5
commit
55487ba0c6
|
|
@ -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…
Reference in New Issue