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