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:
Richard R 2026-05-26 19:33:41 -06:00
parent cd530a365d
commit 16e94a1587

View file

@ -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