Spaces:
Build error
Build error
Download Dockerfile from DodoPele/faceswap_tool: direct link, hf CLI and curl.
- Browser
- Download file 358 Bytes
-
https://huggingface.co/spaces/DodoPele/faceswap_tool/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/DodoPele/faceswap_tool/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/DodoPele/faceswap_tool/resolve/main/Dockerfile
358 Bytes
| FROM python:3.10 | |
| # working directory | |
| WORKDIR /app | |
| # copy files | |
| COPY . . | |
| # system packages | |
| RUN apt-get update && apt-get install -y ffmpeg | |
| # upgrade pip | |
| RUN pip install --upgrade pip setuptools wheel | |
| # install python deps | |
| RUN pip install --no-cache-dir -r requirements.txt | |
| # launch app | |
| ENV GRADIO_SERVER_NAME=0.0.0.0 | |
| EXPOSE 7860 | |
| CMD ["python", "run.py"] |