Spaces:
Paused
Paused
Update Dockerfile
Browse files- Dockerfile +4 -2
Dockerfile
CHANGED
|
@@ -17,9 +17,11 @@ USER user
|
|
| 17 |
|
| 18 |
RUN git clone -b v2.6 https://github.com/camenduru/stable-diffusion-webui && \
|
| 19 |
sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py && \
|
| 20 |
-
|
|
|
|
|
|
|
| 21 |
wget https://github.com/camenduru/webui-docker/raw/main/header_patch_v2.py -O /content/header_patch_v2.py && \
|
| 22 |
sed -i -e '/demo:/r /content/header_patch_v2.py' /content/stable-diffusion-webui/modules/ui.py && \
|
| 23 |
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/juggernaut-xl/resolve/main/juggernautXL_version2.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o juggernautXL_version2.safetensors
|
| 24 |
|
| 25 |
-
CMD
|
|
|
|
| 17 |
|
| 18 |
RUN git clone -b v2.6 https://github.com/camenduru/stable-diffusion-webui && \
|
| 19 |
sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py && \
|
| 20 |
+
cd /content/stable-diffusion-webui && \
|
| 21 |
+
python launch.py --skip-torch-cuda-test && \
|
| 22 |
+
git reset --hard && \
|
| 23 |
wget https://github.com/camenduru/webui-docker/raw/main/header_patch_v2.py -O /content/header_patch_v2.py && \
|
| 24 |
sed -i -e '/demo:/r /content/header_patch_v2.py' /content/stable-diffusion-webui/modules/ui.py && \
|
| 25 |
aria2c --console-log-level=error -c -x 16 -s 16 -k 1M https://huggingface.co/ckpt/juggernaut-xl/resolve/main/juggernautXL_version2.safetensors -d /content/stable-diffusion-webui/models/Stable-diffusion -o juggernautXL_version2.safetensors
|
| 26 |
|
| 27 |
+
CMD cd /content/stable-diffusion-webui && python launch.py --cors-allow-origins=* --xformers --listen --theme dark --gradio-queue
|