File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ COPY . .
1616RUN bun install --frozen-lockfile
1717RUN bun run --filter frontend build
1818
19- # Build a minimal package.json with only runtime dependencies (no devDependencies)
19+ # Build a minimal package.json with only runtime dependencies (no devDependencies).
20+ # Workspace packages (@bomberoscr/*) are bundled into the Vite SSR build, same as the API image.
2021RUN apk add --no-cache jq && \
21- jq 'del(.devDependencies) | .dependencies |= with_entries(select(.key | test("@tanstack/react-(devtools|query-devtools|router-devtools|start)") | not))' \
22+ jq 'del(.devDependencies) | .dependencies |= with_entries(select(
23+ (.key | test("@tanstack/react-(devtools|query-devtools|router-devtools|start)") | not)
24+ and (.key | startswith("@bomberoscr/") | not)
25+ ))' \
2226 apps/frontend/package.json > /tmp/package.json
23-
2427FROM oven/bun:1.3.9-alpine AS runner
2528
2629WORKDIR /app
Original file line number Diff line number Diff line change 11{
22 "name" : " frontend" ,
3- "version" : " 0.1.27 " ,
3+ "version" : " 0.1.28 " ,
44 "private" : true ,
55 "type" : " module" ,
66 "scripts" : {
You can’t perform that action at this time.
0 commit comments