Zlatislav Zlatev
commited on
Commit
·
4511681
1
Parent(s):
90016cc
Create Dockerfile
Browse files- Dockerfile +17 -0
Dockerfile
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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
|
9 |
+
|
10 |
+
# Clone the repository
|
11 |
+
RUN git clone https://github.com/lllyasviel/Fooocus.git
|
12 |
+
|
13 |
+
# Change to the repository directory
|
14 |
+
WORKDIR /content/Fooocus
|
15 |
+
|
16 |
+
# Run the Python script
|
17 |
+
CMD ["python", "entry_with_update.py"]
|