Spaces:
Paused
Paused
Download Dockerfile from fareldevelopers/aio: direct link, hf CLI and curl.
- Browser
- Download file 476 Bytes
-
https://huggingface.co/spaces/fareldevelopers/aio/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/fareldevelopers/aio/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/fareldevelopers/aio/resolve/main/Dockerfile
476 Bytes
| FROM python:3.10-slim | |
| RUN apt-get update && apt-get install -y \ | |
| ffmpeg \ | |
| curl \ | |
| && rm -rf /var/lib/apt/lists/* | |
| RUN curl -L https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -o /usr/local/bin/yt-dlp \ | |
| && chmod a+rx /usr/local/bin/yt-dlp | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] |