- 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>
20 lines
451 B
Docker
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"]
|