FROM python:3.12-slim-bookworm WORKDIR /workspace RUN python -m pip install --no-cache-dir torch==2.11.0+cpu --extra-index-url https://download.pytorch.org/whl/cpu numpy==2.5.3 packaging==26.3 psutil==7.2.2 PyYAML==6.0.3 huggingface_hub==1.31.0 safetensors==0.8.0 filelock==3.32.3 fsspec==2026.7.0 tqdm==4.70.1 typing_extensions==4.16.0 requests==2.32.3 pytest==8.4.2 parameterized==0.9.0 setuptools==78.1.0 COPY . /workspace RUN python -m pip install --no-cache-dir -e . RUN rm -rf /workspace/.git /root/.cache/pip ENV PYTHONDONTWRITEBYTECODE=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1