2023-04-16 20:48:03 +03:00
|
|
|
ARG IMAGE=tukirito/sygil-webui:base
|
2022-10-05 03:03:06 +03:00
|
|
|
|
|
|
|
FROM ${IMAGE}
|
|
|
|
|
|
|
|
WORKDIR /workdir
|
|
|
|
|
|
|
|
SHELL ["/bin/bash", "-c"]
|
|
|
|
|
|
|
|
ENV PYTHONPATH=/sd
|
|
|
|
|
|
|
|
EXPOSE 8501
|
2022-12-04 23:11:11 +03:00
|
|
|
COPY ./runpod_entrypoint.sh /sd/entrypoint.sh
|
2022-10-05 03:03:06 +03:00
|
|
|
COPY ./data/DejaVuSans.ttf /usr/share/fonts/truetype/
|
|
|
|
COPY ./configs/ /sd/configs/
|
2022-12-05 16:40:58 +03:00
|
|
|
copy ./configs/webui/webui_streamlit.yaml /sd/configs/webui/userconfig_streamlit.yaml
|
2022-10-05 03:03:06 +03:00
|
|
|
COPY ./data/ /sd/data/
|
|
|
|
COPY ./frontend/ /sd/frontend/
|
|
|
|
COPY ./gfpgan/ /sd/gfpgan/
|
|
|
|
COPY ./images/ /sd/images/
|
|
|
|
COPY ./ldm/ /sd/ldm/
|
|
|
|
COPY ./models/ /sd/models/
|
2022-12-04 23:11:11 +03:00
|
|
|
copy ./optimizedSD/ /sd/optimizedSD/
|
2022-10-05 03:03:06 +03:00
|
|
|
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
|