Commit
·
cccb6df
1
Parent(s):
2480ca9
split into multiple commands = layers
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -18,9 +18,9 @@ USER root
|
|
| 18 |
RUN ln -s /home/app/miniconda3/bin/conda /usr/bin/conda
|
| 19 |
USER app
|
| 20 |
|
| 21 |
-
RUN conda env create -f environment.yaml
|
| 22 |
-
|
| 23 |
-
|
| 24 |
|
| 25 |
VOLUME /ai-christmas/models/checkpoints
|
| 26 |
VOLUME /ai-christmas/models/loras
|
|
|
|
| 18 |
RUN ln -s /home/app/miniconda3/bin/conda /usr/bin/conda
|
| 19 |
USER app
|
| 20 |
|
| 21 |
+
RUN conda env create -f environment.yaml
|
| 22 |
+
RUN conda run --no-capture-output -n fooocus pip install -r requirements_versions.txt
|
| 23 |
+
RUN conda run --no-capture-output -n fooocus python prepare.py
|
| 24 |
|
| 25 |
VOLUME /ai-christmas/models/checkpoints
|
| 26 |
VOLUME /ai-christmas/models/loras
|