synchronization
This commit is contained in:
20
stable-diffusion-webui/Dockerfile
Normal file
20
stable-diffusion-webui/Dockerfile
Normal file
@@ -0,0 +1,20 @@
|
||||
FROM python:3.10.6
|
||||
|
||||
LABEL maintainer="Offends <offends4@163.com>"
|
||||
|
||||
RUN useradd webui \
|
||||
&& mkdir /home/webui -p \
|
||||
&& mkdir /stable-diffusion-webui/ -p \
|
||||
&& pip install --upgrade pip \
|
||||
&& apt update \
|
||||
&& apt install libgl1-mesa-glx -y \
|
||||
&& pip install opencv-python-headless
|
||||
|
||||
WORKDIR /stable-diffusion-webui/
|
||||
|
||||
EXPOSE 7860
|
||||
|
||||
COPY ./start.sh /start.sh
|
||||
COPY ./builder.sh /builder.sh
|
||||
|
||||
CMD ["bash","/start.sh"]
|
Reference in New Issue
Block a user