Spaces:
Sleeping
Sleeping
Download Dockerfile from Shoir/math-annotation: direct link, hf CLI and curl.
- Browser
- Download file 332 Bytes
-
https://huggingface.co/spaces/Shoir/math-annotation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Shoir/math-annotation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Shoir/math-annotation/resolve/main/Dockerfile
332 Bytes
| FROM python:3.9-slim | |
| ENV PYTHONUNBUFFERED=1 | |
| ENV PORT=7860 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| COPY config.yaml . | |
| COPY hf_start.py . | |
| COPY layouts ./layouts | |
| COPY my-annotation-task ./my-annotation-task | |
| RUN mkdir -p annotation_output | |
| EXPOSE 7860 | |
| CMD ["python", "hf_start.py"] | |