AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 76001-76500
1a9a102 verified
Raw History Blame Contribute Delete
674 Bytes
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 parameterized==0.9.0 Pillow==12.3.0 pytest==8.4.2 pytest-timeout==2.4.0 setuptools==78.1.0 wheel==0.48.0 safetensors==0.8.0 huggingface-hub==1.31.0 filelock==3.32.6 httpx==0.28.1 regex==2026.9.10 requests==2.34.2
COPY . /workspace
RUN python -m pip install --no-cache-dir --no-deps --no-build-isolation -e .
RUN rm -rf /workspace/.git /root/.cache/pip
ENV PYTHONDONTWRITEBYTECODE=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
ENV HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 HF_DATASETS_OFFLINE=1