Spaces:
Building
Building
Commit
·
f81f35a
1
Parent(s):
56e330c
Update Dockerfile
Browse files- Dockerfile +7 -5
Dockerfile
CHANGED
@@ -2,12 +2,14 @@ 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 chown -R toor stable-diffusion-webui
|
9 |
RUN apt install python3.11-venv -y
|
10 |
RUN apt update && apt install ffmpeg libsm6 libxext6 -y
|
11 |
-
|
|
|
12 |
USER toor
|
13 |
-
|
|
|
|
|
|
|
|
|
|
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 |
USER toor
|
11 |
+
RUN /stable-diffusion-webui/webui.sh
|
12 |
+
RUN /stable-diffusion-webui/webui.sh --skip-torch-cuda-test
|
13 |
+
RUN /stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half
|
14 |
+
EXPOSE 7860
|
15 |
+
ENTRYPOINT /stable-diffusion-webui/webui.sh --skip-torch-cuda-test --no-half --listen
|