fix(infra): copy bun binary to runtime for Next.js frontend

Co-Authored-By: Kilo <kilo@kilo.ai>
This commit is contained in:
asepharyana
2026-07-24 17:55:59 +07:00
co-authored by Kilo
parent 13e2c38eef
commit 5c79a91a2e
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -54,6 +54,9 @@ WORKDIR /app
COPY --from=builder /app/tools-gateway-bin /app/gateway COPY --from=builder /app/tools-gateway-bin /app/gateway
COPY --from=builder /app/tools-workers-bin /app/workers COPY --from=builder /app/tools-workers-bin /app/workers
# Copy bun binary from frontend builder (needed to run Next.js server)
COPY --from=frontend-builder /usr/local/bin/bun /usr/local/bin/bun
# Copy Next.js build # Copy Next.js build
COPY --from=frontend-builder /app/.next /app/.next COPY --from=frontend-builder /app/.next /app/.next
COPY --from=frontend-builder /app/public /app/public COPY --from=frontend-builder /app/public /app/public