AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 69501-70000
e546047 verified
Raw History Blame Contribute Delete
503 Bytes
FROM python:3.12-slim
WORKDIR /workspace
RUN python -m pip install --no-cache-dir setuptools==78.1.0 wheel==0.48.0 --extra-index-url https://download.pytorch.org/whl/cpu torch==2.11.0+cpu numpy==2.5.3 packaging==26.3 psutil==7.2.2 parameterized==0.9.0 pytest==8.4.2
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
ENV HF_HUB_OFFLINE=1 TRANSFORMERS_OFFLINE=1 HF_DATASETS_OFFLINE=1