darkstorm2150 commited on
Commit
c4263ff
·
verified ·
1 Parent(s): bac42ba

Update Dockerfile

Browse files
Files changed (1) hide show
  1. 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
- RUN cd stable-diffusion-webui
39
- RUN git submodule update --init --recursive
40
- RUN sed -i '$a fastapi==0.90.0' requirements_versions.txt
41
- RUN 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
- RUN sed -i -e 's/ start()/ #start()/g' launch.py
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