Spaces:
Paused
Paused
unknown
commited on
Commit
•
3c6cb3c
1
Parent(s):
79eb621
Add application file
Browse files- Dockerfile +17 -0
Dockerfile
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Use an official Python runtime as a parent image
|
2 |
+
FROM python3.8
|
3 |
+
|
4 |
+
# Set the working directory to content
|
5 |
+
WORKDIR content
|
6 |
+
|
7 |
+
# Install pygit2 version 1.12.2
|
8 |
+
RUN pip install pygit2==1.12.2
|
9 |
+
|
10 |
+
# Clone the Fooocus repository from GitHub
|
11 |
+
RUN git clone httpsgithub.comlllyasvielFooocus.git
|
12 |
+
|
13 |
+
# Set the working directory to contentFooocus
|
14 |
+
WORKDIR contentFooocus
|
15 |
+
|
16 |
+
# Run the entry_with_update.py script with the specified arguments
|
17 |
+
CMD [python, entry_with_update.py, --share]
|