Spaces:
Runtime error
Runtime error
Update Dockerfile
Browse files- Dockerfile +6 -6
Dockerfile
CHANGED
@@ -34,12 +34,12 @@ RUN pip install --pre triton
|
|
34 |
RUN pip install numexpr
|
35 |
|
36 |
# Clone repository and update submodules in a single RUN command
|
37 |
-
RUN git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
|
44 |
RUN pip install -r stable-diffusion-webui/requirements.txt
|
45 |
|
|
|
34 |
RUN pip install numexpr
|
35 |
|
36 |
# Clone repository and update submodules in a single RUN command
|
37 |
+
RUN git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui && \
|
38 |
+
cd stable-diffusion-webui && \
|
39 |
+
git submodule update --init --recursive && \
|
40 |
+
sed -i '$a fastapi==0.90.0' requirements_versions.txt && \
|
41 |
+
sed -i -e '/prepare_environment()/a\ os.system(f\"sed -i -e '\''s/dict()))/dict())).cuda()/g'\'' repositories/stable-diffusion-stability-ai/ldm/util.py\")' launch.py && \
|
42 |
+
sed -i -e 's/ start()/ #start()/g' launch.py
|
43 |
|
44 |
RUN pip install -r stable-diffusion-webui/requirements.txt
|
45 |
|