Spaces:
Running on T4
Running on T4
Download Dockerfile from doublelotus/cleave-fastapi: direct link, hf CLI and curl.
- Browser
- Download file 274 Bytes
-
https://huggingface.co/spaces/doublelotus/cleave-fastapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/doublelotus/cleave-fastapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/doublelotus/cleave-fastapi/resolve/main/Dockerfile
274 Bytes
| FROM python:3.9 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| RUN apt-get update && apt-get install ffmpeg libsm6 libxext6 -y | |
| COPY . . | |
| CMD ["gunicorn", "-b", "0.0.0.0:7860", "main:app"] |