Files
APAW/docker/evolution-test/Dockerfile
¨NW¨ 01ce40ae8a restore: Docker evolution test files for remote usage
Docker files restored for use on other machines with Docker/WSL2.

Available test methods:
1. Docker (isolated environment):
   docker-compose -f docker/evolution-test/docker-compose.yml up evolution-feature

2. Local (bun runtime):
   docker/evolution-test/run-local-test.bat feature
   ./docker/evolution-test/run-local-test.sh feature

Both methods provide:
- Millisecond precision timing
- Fitness score with 2 decimal places
- JSONL logging to .kilo/logs/fitness-history.jsonl
2026-04-06 01:36:26 +01:00

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"]