AdithyaSK's picture
AdithyaSK HF Staff
Stage Harbor release files 93001-93500
9910298 verified
Raw History Blame Contribute Delete
688 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 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 source /workspace
RUN python -m pip install --no-cache-dir -e .
ENV PYTHONDONTWRITEBYTECODE=1 PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
RUN useradd -m -u 1001 grader
COPY grade.py test_driver.py test_results.py contract.json test.sh /tests/
RUN chmod 755 /tests && chmod 644 /tests/*