fix: add missing workspace package.json COPYs to Dockerfiles for bun workspace resolution
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user