Skip to content

Commit 42c3a49

Browse files
committed
ci
1 parent 5581ad1 commit 42c3a49

2 files changed

Lines changed: 7 additions & 4 deletions

File tree

apps/frontend/Dockerfile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,14 @@ COPY . .
1616
RUN bun install --frozen-lockfile
1717
RUN 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.
2021
RUN 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-
2427
FROM oven/bun:1.3.9-alpine AS runner
2528

2629
WORKDIR /app

apps/frontend/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "frontend",
3-
"version": "0.1.27",
3+
"version": "0.1.28",
44
"private": true,
55
"type": "module",
66
"scripts": {

0 commit comments

Comments
 (0)