Spaces:
Running
Running
Download Dockerfile from Param20h/deepfake-api: direct link, hf CLI and curl.
- Browser
- Download file 304 Bytes
-
https://huggingface.co/spaces/Param20h/deepfake-api/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Param20h/deepfake-api/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Param20h/deepfake-api/resolve/main/Dockerfile
304 Bytes
| FROM python:3.10 | |
| WORKDIR /code | |
| COPY ./requirements.txt /code/requirements.txt | |
| # Install dependencies | |
| RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt | |
| COPY . . | |
| # Expose port 7860 for Hugging Face Spaces | |
| EXPOSE 7860 | |
| CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"] | |