build(docker): include compute/core and worker package manifests for deps
Add compute/core/package.json and compute/worker/package.json to Docker build context to ensure all workspace dependencies are correctly installed during image creation. This change prevents missing dependency issues for subpackages when building in isolated environments.
This commit is contained in:
parent
cd530a365d
commit
16e94a1587
1 changed files with 3 additions and 1 deletions
|
|
@ -19,8 +19,10 @@ RUN npm install -g pnpm@11.1.2
|
|||
# Create app directory
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
# Copy workspace manifests needed for dependency installation
|
||||
COPY package.json pnpm-lock.yaml pnpm-workspace.yaml ./
|
||||
COPY compute/core/package.json ./compute/core/package.json
|
||||
COPY compute/worker/package.json ./compute/worker/package.json
|
||||
|
||||
# Install dependencies
|
||||
RUN pnpm install --frozen-lockfile
|
||||
|
|
|
|||
Loading…
Reference in a new issue