Spaces:
Paused
Paused
Commit
·
54b456e
1
Parent(s):
e3ba0a0
is this kaniko compatible?
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -18,8 +18,7 @@ RUN ln -s /home/app/miniconda3/bin/conda /usr/bin/conda
|
|
| 18 |
USER app
|
| 19 |
|
| 20 |
RUN conda env create -f environment.yaml
|
| 21 |
-
|
| 22 |
-
RUN pip install pygit2==1.12.2 && python prepare.py
|
| 23 |
|
| 24 |
VOLUME /ai-christmas/models/checkpoints
|
| 25 |
VOLUME /ai-christmas/models/loras
|
|
|
|
| 18 |
USER app
|
| 19 |
|
| 20 |
RUN conda env create -f environment.yaml
|
| 21 |
+
RUN ["conda", "run", "-n", "fooocus", "--no-capture-output", "/bin/bash", "-c", "pip install pygit2==1.12.2 && python prepare.py"]
|
|
|
|
| 22 |
|
| 23 |
VOLUME /ai-christmas/models/checkpoints
|
| 24 |
VOLUME /ai-christmas/models/loras
|