Game run container stub — Create Dockerfile.ff1-runner with Python 3.11-slim, cynes, and ff1-agent package stub. See implementation guide Section 10.6 for the two-container design.
Description
Create Dockerfile.ff1-runner per implementation guide Section 10.6. Base: python:3.11-slim. Install cynes, fastapi, uvicorn, pydantic, httpx, numpy, pillow, click, jinja2, pyyaml. COPY ff1_agent/ and pyproject.toml, pip install -e .. Set ENTRYPOINT to ff1-agent. Acceptance: docker build -f Dockerfile.ff1-runner -t ff1-runner . succeeds.
Labels
Dependencies
No dependencies.
Artifacts
Summary
Created Dockerfile.ff1-runner for the game run container (Section 10.6). Base image: python:3.11-slim. Installs all 10 required packages (cynes, fastapi, uvicorn, pydantic, httpx, numpy, pillow, click, jinja2, pyyaml) via pip with --no-cache-dir. COPYs ff1_agent/ and pyproject.toml, installs package in editable mode. Declares VOLUME mounts for /app/knowledge and /app/runs. Sets ENTRYPOINT to exec-form ["ff1-agent"].
Status: complete
Files created (3)
Dockerfile.ff1-runnertests/test_dockerfile_ff1_runner.pytests/adversarial/test_dockerfile_runner_adversarial.py
Tests
Code Review
Verdict: APPROVED
Critical issues: found, fixed