Zlatislav Zlatev commited on
Commit
000d021
·
1 Parent(s): 4511681

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -1,8 +1,8 @@
1
  # Use an official Python runtime as a parent image
2
  FROM python:3.8
3
 
4
- # Install pygit2
5
- RUN pip install pygit2==1.12.2
6
 
7
  # Set the working directory
8
  WORKDIR /content
@@ -13,5 +13,8 @@ RUN git clone https://github.com/lllyasviel/Fooocus.git
13
  # Change to the repository directory
14
  WORKDIR /content/Fooocus
15
 
 
 
 
16
  # Run the Python script
17
  CMD ["python", "entry_with_update.py"]
 
1
  # Use an official Python runtime as a parent image
2
  FROM python:3.8
3
 
4
+ # Install pygit2 and other dependencies
5
+ RUN pip install pygit2==1.12.2 numpy
6
 
7
  # Set the working directory
8
  WORKDIR /content
 
13
  # Change to the repository directory
14
  WORKDIR /content/Fooocus
15
 
16
+ # Install additional Python dependencies
17
+ RUN pip install -r requirements.txt # If there's a requirements.txt file
18
+
19
  # Run the Python script
20
  CMD ["python", "entry_with_update.py"]