mirror of
https://github.com/sd-webui/stable-diffusion-webui.git
synced 2024-12-12 12:44:05 +03:00
30 lines
770 B
Plaintext
30 lines
770 B
Plaintext
ARG IMAGE=tukirito/sygil-webui:base
|
|
|
|
FROM ${IMAGE}
|
|
|
|
WORKDIR /workdir
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
ENV PYTHONPATH=/sd
|
|
|
|
EXPOSE 8501
|
|
COPY ./runpod_entrypoint.sh /sd/entrypoint.sh
|
|
COPY ./data/DejaVuSans.ttf /usr/share/fonts/truetype/
|
|
COPY ./configs/ /sd/configs/
|
|
copy ./configs/webui/webui_streamlit.yaml /sd/configs/webui/userconfig_streamlit.yaml
|
|
COPY ./data/ /sd/data/
|
|
COPY ./frontend/ /sd/frontend/
|
|
COPY ./gfpgan/ /sd/gfpgan/
|
|
COPY ./images/ /sd/images/
|
|
COPY ./ldm/ /sd/ldm/
|
|
COPY ./models/ /sd/models/
|
|
copy ./optimizedSD/ /sd/optimizedSD/
|
|
COPY ./scripts/ /sd/scripts/
|
|
COPY ./.streamlit/ /sd/.streamlit/
|
|
ENTRYPOINT /sd/entrypoint.sh
|
|
|
|
RUN mkdir -p ~/.streamlit/
|
|
RUN echo "[general]" > ~/.streamlit/credentials.toml
|
|
RUN echo "email = \"\"" >> ~/.streamlit/credentials.toml
|