camenduru commited on
Commit
bc09fc6
1 Parent(s): a33152d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -11,8 +11,10 @@ RUN pip install https://github.com/camenduru/stable-diffusion-webui-colab/releas
11
  RUN pip install --pre triton
12
  RUN pip install numexpr
13
 
14
- RUN git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui && cd stable-diffusion-webui && sed -i -e 's/ start()/ #start()/g' launch.py && python launch.py --skip-torch-cuda-test
15
  RUN sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
 
 
16
 
17
  # ----------------------------Delete this block if you don't want to see the extra header----------------------------
18
  ADD https://github.com/camenduru/webui-docker/raw/main/env_patch.py /content/env_patch.py
 
11
  RUN pip install --pre triton
12
  RUN pip install numexpr
13
 
14
+ RUN git clone -b v1.6 https://github.com/camenduru/stable-diffusion-webui
15
  RUN sed -i -e '''/prepare_environment()/a\ os.system\(f\"""sed -i -e ''\"s/dict()))/dict())).cuda()/g\"'' /content/stable-diffusion-webui/repositories/stable-diffusion-stability-ai/ldm/util.py""")''' /content/stable-diffusion-webui/launch.py
16
+ RUN sed -i -e 's/ start()/ #start()/g' /content/stable-diffusion-webui/launch.py
17
+ RUN cd stable-diffusion-webui && python launch.py --skip-torch-cuda-test
18
 
19
  # ----------------------------Delete this block if you don't want to see the extra header----------------------------
20
  ADD https://github.com/camenduru/webui-docker/raw/main/env_patch.py /content/env_patch.py