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 adduser toor | |
RUN apt install python3 -y | |
RUN apt install wget curl -y | |
RUN wget -O /stable-diffusion-webui/models/VAE/vae-ft-mse-840000-ema-pruned.ckpt https://huggingface.co/stabilityai/sd-vae-ft-mse-original/resolve/main/vae-ft-mse-840000-ema-pruned.ckpt --content-disposition | |
RUN ls /stable-diffusion-webui/models/VAE | |
RUN chown -R toor stable-diffusion-webui | |
RUN apt install python3.11-venv -y | |
RUN apt update && apt install ffmpeg libsm6 libxext6 -y | |
EXPOSE 7860 | |
USER toor | |
ENTRYPOINT ./stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen --enable-insecure-extension-access |