Create Dockerfile
Browse files- Dockerfile +12 -0
Dockerfile
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM python:3.10.12
|
2 |
+
|
3 |
+
RUN git clone https://github.com/lllyasviel/Fooocus.git
|
4 |
+
WORKDIR /Fooocus
|
5 |
+
|
6 |
+
RUN cd Fooocus
|
7 |
+
RUN python3 -m venv fooocus_env
|
8 |
+
RUN source fooocus_env/bin/activate
|
9 |
+
RUN pip install -r requirements_versions.txt
|
10 |
+
|
11 |
+
RUN source fooocus_env/bin/activate
|
12 |
+
RUN python entry_with_update.py --listen --port 7860
|