8-stage TypeScript pipeline with Apify scraping, Claude AI analysis, real-time dashboard with SSE, PostgreSQL cost tracking, and Apify budget controls. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
17 lines
316 B
Docker
17 lines
316 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 directory
|
|
RUN mkdir -p agents/social-listening/outputs
|
|
|
|
EXPOSE 3456
|
|
|
|
# Default: run the dashboard
|
|
CMD ["npx", "tsx", "agents/social-listening/dashboard/server.ts"]
|