21 lines
523 B
Docker
21 lines
523 B
Docker
FROM runpod/stable-diffusion:web-automatic-1.5.16
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
ENV PATH="${PATH}:/workspace/stable-diffusion-webui/venv/bin"
|
|
|
|
WORKDIR /
|
|
|
|
RUN rm /workspace/v1-5-pruned-emaonly.ckpt
|
|
|
|
ADD ./models/basemodel.safetensors /workspace/stable-diffusion-webui/models/Stable-diffusion/basemodel.safetensors
|
|
ADD ./models/Lora/ /workspace/stable-diffusion-webui/models/Lora/
|
|
|
|
|
|
ADD relauncher.py .
|
|
ADD webui-user.sh .
|
|
ADD start.sh /start.sh
|
|
RUN chmod a+x /start.sh
|
|
|
|
SHELL ["/bin/bash", "--login", "-c"]
|
|
CMD [ "/start.sh" ] |