Illumotion commited on
Commit
f6e5e28
1 Parent(s): 63ceee8

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -2
Dockerfile CHANGED
@@ -11,6 +11,8 @@ RUN apt-get update -y && apt-get upgrade -y && apt-get install -y libgl1 libglib
11
  RUN adduser --disabled-password --gecos '' user
12
  RUN mkdir /content && chown -R user:user /content
13
  WORKDIR /content
 
 
14
  USER user
15
 
16
  RUN pip3 install --upgrade pip
@@ -19,8 +21,7 @@ RUN pip install xformers==0.0.16
19
  RUN pip install triton==2.0.0 numexpr
20
 
21
 
22
- COPY . stable-diffusion-webui
23
- RUN chown -R user:user stable-diffusion-webui && pip install -r stable-diffusion-webui/requirements.txt
24
  ADD --chown=user https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py /content/stable-diffusion-webui/scripts/run_n_times.py
25
  RUN git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
26
  RUN git clone https://github.com/AlUlkesh/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser
 
11
  RUN adduser --disabled-password --gecos '' user
12
  RUN mkdir /content && chown -R user:user /content
13
  WORKDIR /content
14
+ COPY . stable-diffusion-webui
15
+ RUN chown -R user:user stable-diffusion-webui
16
  USER user
17
 
18
  RUN pip3 install --upgrade pip
 
21
  RUN pip install triton==2.0.0 numexpr
22
 
23
 
24
+ RUN pip install -r stable-diffusion-webui/requirements.txt
 
25
  ADD --chown=user https://raw.githubusercontent.com/camenduru/stable-diffusion-webui-scripts/main/run_n_times.py /content/stable-diffusion-webui/scripts/run_n_times.py
26
  RUN git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /content/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui
27
  RUN git clone https://github.com/AlUlkesh/stable-diffusion-webui-images-browser /content/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser