Spaces:
Running
Running
Download Dockerfile from InternScience/ResearchHarness: direct link, hf CLI and curl.
- Browser
- Download file 460 Bytes
-
https://huggingface.co/spaces/InternScience/ResearchHarness/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/InternScience/ResearchHarness/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/InternScience/ResearchHarness/resolve/main/Dockerfile
460 Bytes
| FROM python:3.11-slim | |
| WORKDIR /app | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PORT=7860 \ | |
| RH_SPACE_RUNS_DIR=/tmp/researchharness_space/runs | |
| RUN apt-get update \ | |
| && apt-get install -y --no-install-recommends \ | |
| bash \ | |
| ca-certificates \ | |
| curl \ | |
| git \ | |
| poppler-utils \ | |
| && rm -rf /var/lib/apt/lists/* | |
| COPY requirements.txt ./ | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] | |