Spaces:
Paused
Paused
Download Dockerfile from Ufoptg/UFoP-API: direct link, hf CLI and curl.
- Browser
- Download file 378 Bytes
-
https://huggingface.co/spaces/Ufoptg/UFoP-API/resolve/refs%2Fpr%2F2/Dockerfile
- Command line
-
hf download hf://spaces/Ufoptg/UFoP-API@refs/pr/2/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Ufoptg/UFoP-API/resolve/refs%2Fpr%2F2/Dockerfile
378 Bytes
| FROM rendyprojects/python:latest | |
| WORKDIR /app/ | |
| RUN apt -qq update | |
| RUN apt -qq install -y --no-install-recommends \ | |
| curl \ | |
| git \ | |
| gnupg2 \ | |
| unzip \ | |
| wget \ | |
| python3-pip \ | |
| ffmpeg \ | |
| neofetch | |
| COPY . . | |
| RUN pip3 install --upgrade pip setuptools | |
| RUN pip3 install -r requirements.txt | |
| CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"] | |