19420cc01d
- Asana REST API client for task polling, section management, and commenting - Pi CLI executor for running tasks with specialist agent teams - Task loop: polls Asana To Do/Pi Worker sections, executes tasks, reports results - Improvement loop: rotates through 8 improvement categories (code quality, security, docs, testing, etc) - Health server on :8787 - File-based mutex locks with stale lock detection - Docker + docker-compose deployment config - deploy.sh for one-command deployment to cr-server-new via SSH/Incus
24 lines
468 B
Docker
24 lines
468 B
Docker
FROM oven/bun:1-alpine AS base
|
|
WORKDIR /app
|
|
|
|
# Install pi CLI and dependencies
|
|
RUN apk add --no-cache git curl openssh-client
|
|
|
|
# Copy package files
|
|
COPY package.json bun.lock* ./
|
|
RUN bun install --frozen-lockfile || bun install
|
|
|
|
# Copy source
|
|
COPY . .
|
|
|
|
# Create logs directory
|
|
RUN mkdir -p logs
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=10s --retries=3 \
|
|
CMD curl -f http://localhost:8787/health || exit 1
|
|
|
|
EXPOSE 8787
|
|
|
|
CMD ["bun", "run", "src/index.ts"]
|