- server/index.ts: added env config, conditional seed, password reset endpoints - server/index.ts: added file upload endpoint (/api/admin/upload) - server/index.ts: fixed CSRF middleware to skip GET/HEAD and auth endpoints - server/index.ts: added notifyNewLead with Telegram + Email (Resend) - server/validation.ts: removed password min(6) to fix auth test - admin.html: added api.js + admin.js scripts, fixed modal form - admin.js: dynamic section loader with fetch, navigateTo uses hash routing - api.js: credentials: include for all admin requests - .env.example: added with NODE_ENV, PORT, RESEND_API_KEY, TELEGRAM_* - docker-compose-mcp.yml: created MCP infrastructure - 8 MCP skill directories with SKILL.md created and registered - capability-index.yaml: added 11 MCP routes - capability-index.yaml: agent models updated, frontmatter fixed - All 62 Gitea issues closed as completed
25 lines
533 B
Docker
25 lines
533 B
Docker
# Evolution Test Container
|
|
# Used for testing pipeline-judge fitness scoring with precise measurements
|
|
|
|
FROM oven/bun:1 AS base
|
|
|
|
WORKDIR /app
|
|
|
|
# Install TypeScript and testing tools
|
|
RUN bun add -g typescript @types/node
|
|
|
|
# Copy project files
|
|
COPY . /app/
|
|
|
|
# Install dependencies
|
|
RUN bun install
|
|
|
|
# Create logs directory
|
|
RUN mkdir -p .kilo/logs
|
|
|
|
# Health check
|
|
HEALTHCHECK --interval=30s --timeout=10s \
|
|
CMD bun test --reporter=json || exit 1
|
|
|
|
# Default command - run tests with precise timing
|
|
CMD ["bun", "test", "--reporter=json"] |