Xenos14 commited on
Commit
51a7bf6
1 Parent(s): a509bc1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +18 -11
Dockerfile CHANGED
@@ -81,11 +81,11 @@ RUN poetry install
81
 
82
  # AUTOMATIC1111' WebUI
83
  RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /app/stable-diffusion-webui \
84
- && (cd /app/stable-diffusion-webui && git checkout 0cc0ee1bcb4c24a8c9715f66cede06601bfc00c8)
85
 
86
  # Deforum extension
87
- RUN git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui \
88
- && (cd /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui && git checkout b60d999202f0fd2b386150d0938c43e639db8643)
89
 
90
  # Images Browser WebUI extension
91
  RUN git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser \
@@ -97,7 +97,7 @@ RUN git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /a
97
 
98
  # Lycoris extension
99
  RUN git clone https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris /app/stable-diffusion-webui/extensions/a1111-sd-webui-lycoris \
100
- && (cd /app/stable-diffusion-webui/extensions/a1111-sd-webui-lycoris && git checkout b0d24ca645b6a5cb9752169691a1c6385c6fe6ae)
101
 
102
  # Local Latent Upscaler extension
103
  RUN git clone https://github.com/hnmr293/sd-webui-llul /app/stable-diffusion-webui/extensions/sd-webui-llul \
@@ -130,7 +130,7 @@ RUN git clone https://github.com/klimaleksus/stable-diffusion-webui-anti-burn /a
130
 
131
  # Super Merger extension
132
  RUN git clone https://github.com/hako-mikan/sd-webui-supermerger /app/stable-diffusion-webui/extensions/sd-webui-supermerger \
133
- && (cd /app/stable-diffusion-webui/extensions/sd-webui-supermerger && git checkout ba775c8941b51f59785834db54ec947be3213626)
134
 
135
  # Cutoff Extension
136
  RUN git clone https://github.com/hnmr293/sd-webui-cutoff /app/stable-diffusion-webui/extensions/sd-webui-cutoff \
@@ -163,8 +163,8 @@ RUN git clone https://github.com/etherealxx/batchlinks-webui /app/stable-diffusi
163
  && (cd /app/stable-diffusion-webui/extensions/batchlinks-webui && git checkout d44bbb5e2a043f2eed80c3945c0f2c676e41d0e5)
164
 
165
  # Fast PNG Info extension
166
- RUN git clone https://github.com/NoCrypt/sd-fast-pnginfo /app/stable-diffusion-webui/extensions/sd-fast-pnginfo \
167
- && (cd /app/stable-diffusion-webui/extensions/sd-fast-pnginfo && git checkout b6647cd57fd5930f4355dee253833a459d2b39fe)
168
 
169
  # Filer extension
170
  RUN git clone https://github.com/aka7774/sd_filer /app/stable-diffusion-webui/extensions/sd_filer \
@@ -185,8 +185,15 @@ RUN git clone https://github.com/Mikubill/sd-webui-controlnet /app/stable-diffus
185
  && mkdir -p /app/stable-diffusion-webui/models/ControlNet
186
 
187
  #Grab the Helper LoRas
188
- RUN mkdir -p /app/stable-diffusion-webui/models/Lora && cd /app/stable-diffusion-webui/models/Lora \
189
- && (git clone https://huggingface.co/Xenos14/QoL-LoRas)
 
 
 
 
 
 
 
190
 
191
  # Prepare WebUI environment
192
  WORKDIR /app/stable-diffusion-webui
@@ -200,10 +207,10 @@ RUN sed -i -e 's/ queue=False, / /g' modules/ui.py
200
 
201
  # Copy startup scripts
202
  COPY --chown=user:user run.py on_start.sh config.json ui-config.json shared-config.json shared-ui-config.json header_patch.py /app/stable-diffusion-webui/
203
- COPY embeddings/ /app/stable-diffusion-webui/embeddings/
204
  COPY styles.csv /app/stable-diffusion-webui/
205
  RUN chmod +x on_start.sh
206
 
207
  EXPOSE 7860
208
 
209
- CMD ["/opt/venv/bin/python", "run.py", "--listen", "--enable-insecure-extension-access", "--ui-config-file", "ui-config.json", "--ui-settings-file", "config.json", "--disable-console-progressbars", "--cors-allow-origins", "huggingface.co,hf.space", "--no-progressbar-hiding", "--enable-console-prompts", "--no-download-sd-model", "--api", "--skip-version-check", "--lora-dir", "/app/stable-diffusion-webui/models/Lora", "--embeddings-dir", "/app/stable-diffusion-webui/embeddings"]
 
81
 
82
  # AUTOMATIC1111' WebUI
83
  RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui /app/stable-diffusion-webui \
84
+ && (cd /app/stable-diffusion-webui && git checkout 394ffa7b0a7fff3ec484bcd084e673a8b301ccc8)
85
 
86
  # Deforum extension
87
+ #RUN git clone https://github.com/deforum-art/deforum-for-automatic1111-webui /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui \
88
+ # && (cd /app/stable-diffusion-webui/extensions/deforum-for-automatic1111-webui && git checkout b60d999202f0fd2b386150d0938c43e639db8643)
89
 
90
  # Images Browser WebUI extension
91
  RUN git clone https://github.com/yfszzx/stable-diffusion-webui-images-browser /app/stable-diffusion-webui/extensions/stable-diffusion-webui-images-browser \
 
97
 
98
  # Lycoris extension
99
  RUN git clone https://github.com/KohakuBlueleaf/a1111-sd-webui-lycoris /app/stable-diffusion-webui/extensions/a1111-sd-webui-lycoris \
100
+ && (cd /app/stable-diffusion-webui/extensions/a1111-sd-webui-lycoris && git checkout 025dea96720197dd4486a5bb8e2f4d72a95a3088)
101
 
102
  # Local Latent Upscaler extension
103
  RUN git clone https://github.com/hnmr293/sd-webui-llul /app/stable-diffusion-webui/extensions/sd-webui-llul \
 
130
 
131
  # Super Merger extension
132
  RUN git clone https://github.com/hako-mikan/sd-webui-supermerger /app/stable-diffusion-webui/extensions/sd-webui-supermerger \
133
+ && (cd /app/stable-diffusion-webui/extensions/sd-webui-supermerger && git checkout 4f0a74939358d2efbef83eebf8ce99d43295879f)
134
 
135
  # Cutoff Extension
136
  RUN git clone https://github.com/hnmr293/sd-webui-cutoff /app/stable-diffusion-webui/extensions/sd-webui-cutoff \
 
163
  && (cd /app/stable-diffusion-webui/extensions/batchlinks-webui && git checkout d44bbb5e2a043f2eed80c3945c0f2c676e41d0e5)
164
 
165
  # Fast PNG Info extension
166
+ #RUN git clone https://github.com/NoCrypt/sd-fast-pnginfo /app/stable-diffusion-webui/extensions/sd-fast-pnginfo \
167
+ # && (cd /app/stable-diffusion-webui/extensions/sd-fast-pnginfo && git checkout b6647cd57fd5930f4355dee253833a459d2b39fe)
168
 
169
  # Filer extension
170
  RUN git clone https://github.com/aka7774/sd_filer /app/stable-diffusion-webui/extensions/sd_filer \
 
185
  && mkdir -p /app/stable-diffusion-webui/models/ControlNet
186
 
187
  #Grab the Helper LoRas
188
+ #RUN mkdir -p /app/stable-diffusion-webui/models/Lora && cd /app/stable-diffusion-webui/models/Lora \
189
+ # && (git clone https://huggingface.co/Xenos14/QoL-LoRas)
190
+
191
+ # Grab the Embeddings, LoRa's, etc.
192
+ RUN mkdir -p /app/holder && cd /app/holder \
193
+ && git clone https://huggingface.co/Xenos14/MyMods \
194
+ && cd MyMods \
195
+ && cp -r models /app/stable-diffusion-webui/ \
196
+ && cp -r embeddings /app/stable-diffusion-webui/
197
 
198
  # Prepare WebUI environment
199
  WORKDIR /app/stable-diffusion-webui
 
207
 
208
  # Copy startup scripts
209
  COPY --chown=user:user run.py on_start.sh config.json ui-config.json shared-config.json shared-ui-config.json header_patch.py /app/stable-diffusion-webui/
210
+ # COPY embeddings/ /app/stable-diffusion-webui/embeddings/
211
  COPY styles.csv /app/stable-diffusion-webui/
212
  RUN chmod +x on_start.sh
213
 
214
  EXPOSE 7860
215
 
216
+ CMD ["/opt/venv/bin/python", "run.py", "--listen", "--gradio-queue", "--disable-nan-check", "--enable-insecure-extension-access", "--ui-config-file", "ui-config.json", "--ui-settings-file", "config.json", "--disable-console-progressbars", "--cors-allow-origins", "huggingface.co,hf.space", "--no-progressbar-hiding", "--enable-console-prompts", "--no-download-sd-model", "--api", "--skip-version-check", "--lora-dir", "/app/stable-diffusion-webui/models/Lora", "--embeddings-dir", "/app/stable-diffusion-webui/embeddings"]