Download Dockerfile from ar08/API: direct link, hf CLI and curl.
- Browser
- Download file 276 Bytes
-
https://huggingface.co/spaces/ar08/API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ar08/API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ar08/API/resolve/main/Dockerfile
276 Bytes
| FROM python:3.10 | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| libsm6 \ | |
| libxext6 | |
| WORKDIR /app | |
| COPY . /app/ | |
| RUN pip install --upgrade pip | |
| RUN pip install torch | |
| RUN pip install -r requirements.txt | |
| CMD ["python3", "app.py", "-H", "0.0.0.0", "-p", "7860"] | |