social-reporting-tool/Dockerfile
DJP 568cf1d40d Add per-brief Apify budget with platform splitting
- Add apifyBudget field to ClientBrief (default $10)
- Budget split: 70% discovery (evenly across platforms), 30% enrichment
- Per-platform soft cap prevents one platform hogging the budget
- Budget input field added to both frontend and dashboard forms
- Saved briefs preserve budget setting
- Fix Claude Vision 5MB limit: filter oversized thumbnails before batching
- Fix Docker: ensure node user can write to volume-mounted dirs

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-04-13 10:36:30 -04:00

20 lines
451 B
Docker

FROM node:20-slim
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci --production
COPY tsconfig.json ./
COPY agents/ ./agents/
# Output and briefs directories
RUN mkdir -p agents/social-listening/outputs agents/social-listening/briefs
# Run as node user (uid 1000) — host volume dirs must be writable by uid 1000
USER node
EXPOSE 3456
# Default: run the dashboard
CMD ["npx", "tsx", "agents/social-listening/dashboard/server.ts"]