# Dev Dockerfile - CPU-only image for validating the full pipeline locally. # Use this for laptop / non-GPU development before scaling to H100s. FROM python:3.11-slim ENV PYTHONUNBUFFERED=1 \ PYTHONDONTWRITEBYTECODE=1 \ PIP_NO_CACHE_DIR=1 \ TOKENIZERS_PARALLELISM=false RUN set -eux; \ for i in 1 2 3; do \ apt-get update && \ apt-get install -y --no-install-recommends --fix-missing \ build-essential git curl ca-certificates && break || \ (echo "apt retry $i" && sleep 5); \ done; \ rm -rf /var/lib/apt/lists/* WORKDIR /workspace COPY requirements-dev.txt /workspace/requirements-dev.txt RUN pip install --upgrade pip wheel setuptools \ && pip install -r /workspace/requirements-dev.txt COPY . /workspace/llm_project ENV PYTHONPATH=/workspace/llm_project CMD ["bash"]