Spaces:
Building
Building
Commit
·
115b5e8
1
Parent(s):
179d1aa
Create Dockerfile
Browse files- Dockerfile +14 -0
Dockerfile
ADDED
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 adduser toor
|
6 |
+
RUN apt install python3 -y
|
7 |
+
RUN apt install wget curl -y
|
8 |
+
RUN wget -O ./stable-diffusion-webui/models/Stable-diffusion/meinahentai_v4.safetensors https://civitai.com/api/download/models/100675
|
9 |
+
RUN chown -R toor stable-diffusion-webui
|
10 |
+
RUN apt install python3.11-venv -y
|
11 |
+
RUN apt update && apt install ffmpeg libsm6 libxext6 -y
|
12 |
+
EXPOSE 7860
|
13 |
+
USER toor
|
14 |
+
ENTRYPOINT ./stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen
|