File size: 513 Bytes
4511681
 
 
000d021
 
4511681
 
 
 
 
 
 
 
 
 
000d021
 
 
4511681
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# 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"]