Spaces:
Building
Building
Commit
·
206dd4e
1
Parent(s):
6a453f2
Create Dockerfile-Backup
Browse files- Dockerfile-Backup +16 -0
Dockerfile-Backup
ADDED
@@ -0,0 +1,16 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
FROM kalilinux/kali-rolling
|
2 |
+
RUN apt update
|
3 |
+
RUN apt install git -y
|
4 |
+
RUN git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
|
5 |
+
RUN apt install python3 -y
|
6 |
+
RUN apt install python3.11-venv -y
|
7 |
+
RUN apt update && apt install ffmpeg libsm6 libxext6 -y
|
8 |
+
RUN adduser toor
|
9 |
+
RUN chown -R toor stable-diffusion-webui
|
10 |
+
RUN apt install wget curl -y
|
11 |
+
USER toor
|
12 |
+
RUN /stable-diffusion-webui/webui.sh
|
13 |
+
EXPOSE 7860
|
14 |
+
RUN wget https://civitai.com/api/download/models/100675 --content-disposition -O /stable-diffusion-webui/stable-diffusion-webui/models/Stable-diffusion/meinahentai_v4.safetensors
|
15 |
+
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
|
16 |
+
ENTRYPOINT /stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen --enable-insecure-extension-access
|