Spaces:
Building
Building
FROM kalilinux/kali-rolling | |
RUN apt update && apt upgrade -y | |
RUN apt install git -y | |
git config --global --unset https.proxy | |
git config --global --unset http.proxy | |
RUN apt-get install git-lfs | |
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git | |
#RUN cd stable-diffusion-webui | |
#RUN git reset --hard cf2772fab0af5573da775e7437e6acdca424f26e | |
RUN useradd -m toor | |
RUN apt install python3 -y | |
RUN apt-get install libgoogle-perftools-dev -y | |
RUN chown -R toor stable-diffusion-webui | |
RUN apt install python3.11-venv -y | |
USER toor | |
RUN stable-diffusion-webui/webui.sh | |
RUN stable-diffusion-webui/webui.sh --skip-torch-cuda-test | |
USER toor | |
RUN stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half | |
USER root | |
RUN apt update && apt install ffmpeg libsm6 libxext6 -y | |
USER toor | |
#ENTRYPOINT stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen | |
USER root | |
RUN apt install wget -y | |
USER toor | |
#checkpoints | |
RUN wget https://huggingface.co/Xenos14/Checkpoints/resolve/main/XenoMATION-V1.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoMATION-V1.safetensors | |
#RUN wget https://huggingface.co./Xenos14/Checkpoints/resolve/main/Kitsch-In-Sync-v2.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/Kitsch-In-Sync-v2.safetensors | |
#RUN wget https://huggingface.co./Xenos14/XenoREALITY/resolve/main/LCM/XenoXTC-LCM-vTOON.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoXTC-LCM-vTOON.safetensors | |
RUN wget https://huggingface.co/Xenos14/TestBed/resolve/main/2024-Real/XenoBABES-V2.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoBABES-V2.safetensors | |
RUN wget https://huggingface.co/Xenos14/Checkpoints/resolve/main/XenoGASM-MK2.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoGASM-MK2.safetensors | |
RUN wget https://huggingface.co/Xenos14/TestBed/resolve/main/2024-Real/XenoGRAPH.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoGRAPH.safetensors | |
RUN wget https://huggingface.co/Xenos14/TestBed/resolve/main/2024-Morph/XenoMORPH-v2.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoMORPH-v2.safetensors | |
RUN wget https://huggingface.co/Xenos14/XenoREALITY/resolve/main/XenTAI_v1.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenTAI_v1.safetensors | |
RUN wget https://huggingface.co/Xenos14/TestBed/resolve/main/2024-Real/XenoREALITY-V3.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoREALITY-V3.safetensors | |
RUN wget https://huggingface.co/Xenos14/TestBed/resolve/main/2024-Gen9/XenoENGINE-ArtStyle-v5.safetensors --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/XenoENGINE-ArtStyle-v5.safetensors | |
RUN wget https://huggingface.co/Xenos14/Checkpoints/resolve/main/ui-config.json --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/ui-config.json | |
RUN wget https://huggingface.co/Xenos14/Checkpoints/resolve/main/config.json --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/config.json | |
#VAE | |
RUN wget https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt | |
#extensions | |
#RUN git clone https://github.com/Mikubill/sd-webui-controlnet.git /stable-diffusion-webui/stable-diffusion-webui/extensions/controlnet | |
#RUN git clone https://huggingface.co./lllyasviel/ControlNet-v1-1 /stable-diffusion-webui/stable-diffusion-webui/extensions/controlnet/models/tree | |
#RUN mv -f /stable-diffusion-webui/stable-diffusion-webui/extensions/controlnet/models/tree/* /stable-diffusion-webui/stable-diffusion-webui/extensions/controlnet/models | |
#RUN git clone https://github.com/etherealxx/batchlinks-webui /stable-diffusion-webui/stable-diffusion-webui/extensions/batchlinks-webui | |
#RUN git clone https://github.com/zanllp/sd-webui-infinite-image-browsing /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-webui-infinite-image-browsing | |
#RUN git clone https://github.com/Bing-su/adetailer /stable-diffusion-webui/stable-diffusion-webui/extensions/adetailer | |
#RUN git clone https://github.com/hako-mikan/sd-webui-supermerger /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-webui-supermerger | |
#RUN git clone https://github.com/aka7774/sd_filer /stable-diffusion-webui/stable-diffusion-webui/extensions/sd_filer | |
#RUN git clone https://github.com/arenasys/stable-diffusion-webui-model-toolkit /stable-diffusion-webui/stable-diffusion-webui/extensions/stable-diffusion-webui-model-toolkit | |
#RUN git clone https://github.com/civitai/sd_civitai_extension /stable-diffusion-webui/stable-diffusion-webui/extensions/sd_civitai_extension | |
#RUN git clone https://github.com/adieyal/sd-dynamic-prompts /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-dynamic-prompts | |
#RUN git clone https://github.com/camenduru/stable-diffusion-webui-huggingface /stable-diffusion-webui/stable-diffusion-webui/extensions/stable-diffusion-webui-huggingface | |
#RUN git clone https://github.com/BlafKing/sd-civitai-browser-plus /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-civitai-browser-plus | |
#RUN git clone https://github.com/DominikDoom/a1111-sd-webui-tagcomplete.git /stable-diffusion-webui/stable-diffusion-webui/extensions/a1111-sd-webui-tagcomplete | |
#RUN git clone https://github.com/continue-revolution/sd-webui-animatediff /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-webui-animatediff | |
#RUN git clone https://github.com/klimaleksus/stable-diffusion-webui-embedding-merge /stable-diffusion-webui/stable-diffusion-webui/extensions/stable-diffusion-webui-embedding-merge | |
#RUN git clone https://github.com/kohya-ss/sd-webui-additional-networks /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-webui-additional-networks | |
#RUN git clone https://github.com/ljleb/sd-webui-freeu /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-webui-freeu | |
#RUN git clone https://github.com/some9000/StylePile /stable-diffusion-webui/stable-diffusion-webui/extensions/StylePile | |
#RUN git clone https://github.com/zixaphir/Stable-Diffusion-Webui-Civitai-Helper /stable-diffusion-webui/stable-diffusion-webui/extensions/Stable-Diffusion-We#bui-Civitai-Helper | |
#RUN git clone https://github.com/Gourieff/sd-webui-reactor /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-webui-reactor | |
#RUN git clone https://github.com/Nekos4Lyfe/TokenMixer /stable-diffusion-webui/stable-diffusion-webui/extensions/TokenMixer | |
#cards | |
RUN mkdir /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/ | |
RUN git clone https://huggingface.co/Xenos14/wildcards /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/Xenos | |
RUN rm -r -f /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/Xenos/.git | |
#RUN mv -f /stable-diffusion-webui/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/Xenos/billions_of_all_in_one.yaml //stable-diffusion-webui/stable-diffusion-webui/extensions/sd-dynamic-prompts/wildcards/ | |
RUN git clone https://github.com/vorstcavry/embeddings /stable-diffusion-webui/stable-diffusion-webui/embeddings/negative | |
RUN rm -r -f /stable-diffusion-webui/stable-diffusion-webui/embeddings/negative/.git | |
RUN git clone https://huggingface.co/Xenos14/embeddings /stable-diffusion-webui/stable-diffusion-webui/embeddings/!Xenos | |
RUN rm -r -f /stable-diffusion-webui/stable-diffusion-webui/embeddings/!Xenos/.git | |
RUN mkdir /stable-diffusion-webui/stable-diffusion-webui/models/Lora/ | |
RUN git clone https://huggingface.co/Xenos14/Loras /stable-diffusion-webui/stable-diffusion-webui/models/Lora/Xenos | |
RUN rm -r -f /stable-diffusion-webui/stable-diffusion-webui/models/Lora/Xenos/.git | |
#RUN mkdir /stable-diffusion-webui/xtemp/ | |
#RUN git clone https://huggingface.co./Xenos14/Loras /stable-diffusion-webui/xtemp/ | |
#RUN mv -f /stable-diffusion-webui/xtemp/ /stable-diffusion-webui/stable-diffusion-webui/models/Lora/ | |
#RUN mkdir /stable-diffusion-webui/xtemp/ | |
#RUN git clone https://huggingface.co./Xenos14/embeddings /stable-diffusion-webui/xtemp/Xenos/ | |
#RUN mv -f /stable-diffusion-webui/xtemp/Xenos/ /stable-diffusion-webui/stable-diffusion-webui/embeddings/ | |
#RUN wget https://civitai.com/api/download/mode#ls/27495 --content-disposition -O /stable-diffusion-webui/models/Lora/tiese.safetensors | |
#RUN wget https://civitai.com/api/download/models/11814 --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/abyssorangemix3AOM3_aom3.safetensors | |
#RUN wget https://civitai.com/api/download/models/122143 --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/extensions/controlnet/models/qrCodeMonster_v20.safetensors | |
#RUN wget https://civitai.com/api/download/models/122143?type=Config --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/extensions/controlnet/models/qrCodeMonster_v20.yaml | |
ENTRYPOINT /stable-diffusion-webui/webui.sh --disable-safe-unpickle --skip-torch-cuda-test --no-half --listen --enable-insecure-extension-access |