Spaces:
Building
Building
FROM kalilinux/kali-rolling | |
RUN apt update | |
RUN apt install git -y | |
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git | |
RUN apt install python3 -y | |
RUN apt install python3.11-venv -y | |
RUN apt update && apt install ffmpeg libsm6 libxext6 -y | |
RUN adduser toor | |
RUN chown -R toor stable-diffusion-webui | |
RUN apt install wget curl -y | |
USER toor | |
RUN /stable-diffusion-webui/webui.sh | |
EXPOSE 7860 | |
RUN wget https://civitai.com/api/download/models/100675 --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/meinahentai_v4.safetensors | |
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 | |
ENTRYPOINT /stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen --enable-insecure-extension-access |