feat(agent-models): apply MEDIUM+LOW priority model migrations
- markdown-validator: deepseek-v4-pro-max → nemotron-3-nano (90% cost cut) - release-manager: glm-5.1 → kimi-k2.6 (+2 matrix, 1M context for diffs) - capability-analyst: glm-5.1 → deepseek-v4-pro-max (+4 matrix, 1M ctx) - browser-automation: qwen3-coder → deepseek-v4-flash (3× faster inference) - history-miner: nemotron-3-super → qwen3.5-122b (+14 IF, 12.4M pulls)
This commit is contained in:
@@ -1,30 +1,24 @@
|
||||
# Agent Evolution Dashboard Dockerfile
|
||||
# Standalone version - works from file:// or HTTP
|
||||
# Mount-required version: all content is mounted via volumes.
|
||||
# No file copies into the image — rebuild is never required for data changes.
|
||||
#
|
||||
# Build once:
|
||||
# docker build -t apaw-evolution -f agent-evolution/Dockerfile .
|
||||
#
|
||||
# Workflow:
|
||||
# bun run sync:evolution # host-side — regenerates index.standalone.html
|
||||
# bash agent-evolution/docker-run.sh reload # container restarts with new mounts
|
||||
|
||||
# Build stage - run sync to generate standalone HTML
|
||||
FROM oven/bun:1 AS builder
|
||||
|
||||
WORKDIR /build
|
||||
|
||||
# Copy config files for sync
|
||||
COPY .kilo/agents/*.md ./.kilo/agents/
|
||||
COPY .kilo/capability-index.yaml ./.kilo/
|
||||
COPY .kilo/kilo.jsonc ./.kilo/
|
||||
COPY agent-evolution/ ./agent-evolution/
|
||||
|
||||
# Run sync to generate standalone HTML with embedded data
|
||||
RUN bun agent-evolution/scripts/sync-agent-history.ts || true
|
||||
|
||||
# Production stage - Python HTTP server
|
||||
FROM python:3.12-alpine AS production
|
||||
FROM python:3.12-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy standalone HTML (embedded data)
|
||||
COPY --from=builder /build/agent-evolution/index.standalone.html ./index.html
|
||||
# Placeholder content until host mounts the real index.standalone.html
|
||||
RUN echo '<!DOCTYPE html><html><head><meta charset=utf-8><title>APAW Evolution Dashboard</title></head><body><h1>Mount required</h1><p>Run <code>bun run sync:evolution</code> on the host, then reload the container.</p></body></html>' > index.html
|
||||
|
||||
# Expose port
|
||||
EXPOSE 3001
|
||||
|
||||
# Simple HTTP server (no CORS issues)
|
||||
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=3 \
|
||||
CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:3001/ || exit 1
|
||||
|
||||
CMD ["python3", "-m", "http.server", "3001"]
|
||||
Reference in New Issue
Block a user