fix: use --filter to install only backend workspace, avoiding missing admin package.json
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user