Download Dockerfile from ezb/Fooocus: direct link, hf CLI and curl.
- Browser
- Download file 513 Bytes
-
https://huggingface.co/spaces/ezb/Fooocus/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ezb/Fooocus/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ezb/Fooocus/resolve/main/Dockerfile
513 Bytes
| # Use an official Python runtime as a parent image | |
| FROM python:3.8 | |
| # Install pygit2 and other dependencies | |
| RUN pip install pygit2==1.12.2 numpy | |
| # Set the working directory | |
| WORKDIR /content | |
| # Clone the repository | |
| RUN git clone https://github.com/lllyasviel/Fooocus.git | |
| # Change to the repository directory | |
| WORKDIR /content/Fooocus | |
| # Install additional Python dependencies | |
| RUN pip install -r requirements.txt # If there's a requirements.txt file | |
| # Run the Python script | |
| CMD ["python", "entry_with_update.py"] |