Download Dockerfile from HighnessAnnotation/ABAB-Annotation: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/HighnessAnnotation/ABAB-Annotation/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/HighnessAnnotation/ABAB-Annotation/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/HighnessAnnotation/ABAB-Annotation/resolve/main/Dockerfile
318 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y ffmpeg && apt-get clean && rm -rf /var/lib/apt/lists/* | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip && \ | |
| pip install --no-cache-dir httpx gradio==3.50.2 pydantic | |
| COPY . . | |
| EXPOSE 7860 | |
| CMD ["python", "app.py"] |