fix(infra): remove bun.lock from Dockerfile, fix frontend build
The bun.lock doesn't exist yet - use bun install without frozen-lockfile. This will be optimized once a lockfile is generated. Co-Authored-By: Kilo <kilo@kilo.ai>
This commit is contained in:
@@ -22,9 +22,9 @@ RUN cargo build --release --bin tools-gateway --bin tools-workers
|
||||
FROM oven/bun:1.3 AS frontend-builder
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files first for layer caching
|
||||
COPY apps/tools/frontend/package.json apps/tools/frontend/bun.lock ./
|
||||
RUN bun install --frozen-lockfile || bun install
|
||||
# Copy package files
|
||||
COPY apps/tools/frontend/package.json ./
|
||||
RUN bun install
|
||||
|
||||
COPY apps/tools/frontend/ .
|
||||
RUN bun run build
|
||||
|
||||
Reference in New Issue
Block a user