fix(web): include dify-ui workspace package in docker install filter (#35268)

This commit is contained in:
yyh 2026-04-15 22:46:50 +08:00 committed by GitHub
parent af7d5e60b4
commit e6b8cbe657
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,9 +30,8 @@ COPY packages /app/packages
# Use packageManager from package.json
RUN corepack install
# Install only the web workspace to keep image builds from pulling in
# unrelated workspace dependencies such as e2e tooling.
RUN VITE_GIT_HOOKS=0 pnpm install --filter ./web... --frozen-lockfile
# Install workspace dependencies for the Docker build environment.
RUN VITE_GIT_HOOKS=0 pnpm install --frozen-lockfile
# build resources
FROM base AS builder