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:
asepharyana
2026-07-24 13:20:30 +07:00
co-authored by Kilo
parent c8fcaecbdb
commit a41b2d7312
+3 -3
View File
@@ -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