From ee0434fa084b962e0f5ca34e2628686277588f2d Mon Sep 17 00:00:00 2001 From: Jackson Roberts Date: Wed, 8 Apr 2026 03:51:19 +0000 Subject: [PATCH] fix: add missing workspace package.json COPYs to Dockerfiles for bun workspace resolution --- api/Dockerfile | 3 +++ ui/Dockerfile | 3 +++ 2 files changed, 6 insertions(+) diff --git a/api/Dockerfile b/api/Dockerfile index 5510e29..b2c04e2 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -14,6 +14,7 @@ COPY package.json bun.lock ./ # Copy workspace package manifests (source not needed — just for bun workspace resolution) COPY api/package.json ./api/package.json COPY dalpuri/package.json ./dalpuri/package.json +COPY ui/package.json ./ui/package.json RUN bun install --frozen-lockfile --production @@ -26,6 +27,7 @@ WORKDIR /app COPY package.json bun.lock ./ COPY api/package.json ./api/package.json COPY dalpuri/package.json ./dalpuri/package.json +COPY ui/package.json ./ui/package.json # Install all deps (including dev) for the full workspace RUN bun install --frozen-lockfile @@ -118,6 +120,7 @@ WORKDIR /app COPY package.json bun.lock ./ COPY api/package.json ./api/package.json COPY dalpuri/package.json ./dalpuri/package.json +COPY ui/package.json ./ui/package.json RUN bun install --frozen-lockfile diff --git a/ui/Dockerfile b/ui/Dockerfile index f00dd7c..febf41c 100644 --- a/ui/Dockerfile +++ b/ui/Dockerfile @@ -5,6 +5,9 @@ WORKDIR /app # Install dependencies COPY package.json bun.lock ./ COPY patches ./patches +COPY api/package.json ./api/package.json +COPY dalpuri/package.json ./dalpuri/package.json +COPY ui/package.json ./ui/package.json RUN bun install --frozen-lockfile # Build the SvelteKit app with adapter-node