Download tasks/swe-next-43f0bb60fa39009c9cf3/tests/Dockerfile from FineEnvs/repo2rlenv-swe-next: direct link, hf CLI and curl.
- Browser
- Download file 443 Bytes
-
https://huggingface.co/datasets/FineEnvs/repo2rlenv-swe-next/resolve/main/tasks/swe-next-43f0bb60fa39009c9cf3/tests/Dockerfile
- Command line
-
hf download hf://datasets/FineEnvs/repo2rlenv-swe-next/tasks/swe-next-43f0bb60fa39009c9cf3/tests/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/datasets/FineEnvs/repo2rlenv-swe-next/resolve/main/tasks/swe-next-43f0bb60fa39009c9cf3/tests/Dockerfile
443 Bytes
| FROM python:3.12-slim | |
| WORKDIR /workspace | |
| RUN python -m pip install --no-cache-dir pytest==8.4.2 coverage==7.16.0 hypothesis==6.151.9 pretend==1.0.9 tomli_w==1.2.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/* | |