File size: 947 Bytes
17cb132
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Pi Office Math Bootstrap — multi-base Dockerfile
#
# Check image (local, fast):    docker build --build-arg BASE=python:3.11-slim -t pi-office-math:check .
# Run image   (pod, vllm base): docker build --build-arg BASE=vllm/vllm-openai:v0.26.0-x86_64 -t pi-office-math:run .

ARG BASE=python:3.11-slim
FROM ${BASE}

# Runtime deps (vllm/transformers/torch are already in the vllm base;
# harmless extra in the check base)
RUN pip install --no-cache-dir datasets sympy==1.14

WORKDIR /workspace

# The six-file dependency surface (nothing else from the repo)
COPY day1_bootstrap.py pi_office_symbolic_sandbox.py mode3_verify.py benchmark_mode3_lean.py ./
COPY benchmark_data/math500/test.jsonl benchmark_data/math500/
COPY benchmark_data/aime/test.jsonl benchmark_data/aime/
COPY run_checks.py ./

# Default: run the integration check suite.
# Override: docker run <image> python3 day1_bootstrap.py --dry-run 20
CMD ["python3", "run_checks.py"]