Datasets:
Download tasks/ip-bbb-aaa-t2-e/environment/Dockerfile from micro1-inc/ContractBench: direct link, hf CLI and curl.
- Browser
- Download file 1.08 kB
-
https://huggingface.co/datasets/micro1-inc/ContractBench/resolve/main/tasks/ip-bbb-aaa-t2-e/environment/Dockerfile
- Command line
-
hf download hf://datasets/micro1-inc/ContractBench/tasks/ip-bbb-aaa-t2-e/environment/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/micro1-inc/ContractBench/resolve/main/tasks/ip-bbb-aaa-t2-e/environment/Dockerfile
1.08 kB
| FROM python:3.12-slim | |
| # Basic utilities agent installers commonly need (claude-code, codex, opencode). | |
| # poppler-utils provides pdftotext: the grounding documents (playbook, commercial context) are | |
| # shipped in their original PDF / Word form, and the agent has to read them itself. | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ | |
| ca-certificates curl git unzip poppler-utils \ | |
| && rm -rf /var/lib/apt/lists/* | |
| # Skill + verifier dependencies. litellm is for the verifier's judge call; | |
| # the docx stack is shared by the skill scripts and the verifier; pypdf is a | |
| # pure-Python fallback reader for the PDF grounding documents. | |
| RUN pip install --no-cache-dir \ | |
| "python-docx==1.2.0" "docx-revisions>=0.1.5" "lxml>=5.0" "litellm>=1.83" "pypdf>=5.0" | |
| # The contract-redliner skill (SKILL.md + scripts + vendored engine). | |
| COPY skills/ /skills/ | |
| # Task documents: the contract to redline + grounding materials. | |
| COPY app/ /app/ | |
| RUN python -c "import zipfile; zipfile.ZipFile('/app/contract.docx').testzip()" # fails on an LFS pointer file | |
| WORKDIR /app | |