056c47581f
Ships the second dashboard surface — a Pattern Library + Preview Theatre — that presents the 4-section PDP pilot batch back to Umar, compliance, and the board in an editorial format. Adds the full data layer that drives it: 5 source-backed per-SKU drafts at QA 100/100, 15 competitor PDP semantic extracts, PubMed evidence packs, EFSA claims library extension, JV brand voice guide, hand-curated product FAQs, and the Matrixify-ready CSV exports for Lewis. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
23 lines
737 B
Docker
23 lines
737 B
Docker
FROM oven/bun:1.3 AS builder
|
|
WORKDIR /app
|
|
COPY package.json bun.lock* ./
|
|
RUN bun install --frozen-lockfile
|
|
COPY . .
|
|
# Build both apps:
|
|
# - dist/ main intelligence dashboard (served at /)
|
|
# - dist-editorial/ editorial review dashboard (served at /editorial/*)
|
|
RUN bun run build && bun run build:editorial
|
|
|
|
FROM oven/bun:1.3-slim
|
|
WORKDIR /app
|
|
COPY --from=builder /app/dist ./dist
|
|
COPY --from=builder /app/dist-editorial ./dist-editorial
|
|
COPY --from=builder /app/api ./api
|
|
COPY --from=builder /app/data ./data
|
|
COPY --from=builder /app/node_modules ./node_modules
|
|
COPY --from=builder /app/package.json ./
|
|
|
|
# Bun serves both static bundles + API on a single port
|
|
EXPOSE 3456
|
|
CMD ["bun", "api/server.ts"]
|