fix: use --filter to install only backend workspace, avoiding missing admin package.json

This commit is contained in:
Ryan Moon
2026-04-01 22:10:14 -05:00
parent 67f8881b3c
commit c236059ce1

View File

@@ -3,8 +3,7 @@ WORKDIR /app
COPY package.json bun.lock ./
COPY packages/shared/package.json packages/shared/
COPY packages/backend/package.json packages/backend/
COPY packages/admin/package.json packages/admin/
RUN bun install --frozen-lockfile
RUN bun install --frozen-lockfile --filter @lunarfront/backend
FROM oven/bun:1.3.11-alpine AS build
ARG APP_VERSION=dev