|
FROM python:3.9 |
|
|
|
RUN DEBIAN_FRONTEND=noninteractive && apt update && apt install tzdata wget git ffmpeg libsm6 libxext6 -y && apt-get clean && useradd -s /bin/bash -m fcb |
|
|
|
RUN git clone https: |
|
|
|
ADD entrypoint.sh /stable-diffusion-webui |
|
|
|
##################################### Add your LoRA models here ########################################### |
|
### Add your LoRA models here, |
|
### You need to replace the <model_download_link> and <your_model_name>, then add the command to the below |
|
### Command example: |
|
### RUN wget <model_download_link> -O /stable-diffusion-webui/models/Lora/<your_model_name> |
|
|
|
## example 1: https: |
|
#RUN wget https: |
|
|
|
# GhostMix |
|
RUN wget https: |
|
|
|
# Detail Tweaker LoRA |
|
RUN wget https: |
|
|
|
RUN wget https: |
|
|
|
|
|
|
|
|
|
####################################################################################################### |
|
RUN chmod 777 -R stable-diffusion-webui && chown -R fcb:fcb stable-diffusion-webui |
|
USER fcb |
|
|
|
WORKDIR /stable-diffusion-webui |
|
|
|
ENV COMMANDLINE_ARGS="--listen --port=9999 --enable-insecure-extension-access --api" |
|
|
|
EXPOSE 9999 |
|
|
|
ENTRYPOINT ["bash", "entrypoint.sh"] |