mirror of
https://github.com/Sygil-Dev/sygil-webui.git
synced 2024-12-15 06:21:34 +03:00
28 lines
640 B
Plaintext
28 lines
640 B
Plaintext
|
ARG IMAGE=hlky/sd-webui:base
|
||
|
|
||
|
FROM ${IMAGE}
|
||
|
|
||
|
WORKDIR /workdir
|
||
|
|
||
|
SHELL ["/bin/bash", "-c"]
|
||
|
|
||
|
ENV PYTHONPATH=/sd
|
||
|
|
||
|
EXPOSE 8501
|
||
|
COPY ./data/DejaVuSans.ttf /usr/share/fonts/truetype/
|
||
|
COPY ./configs/ /sd/configs/
|
||
|
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 ./scripts/ /sd/scripts/
|
||
|
COPY ./.streamlit/ /sd/.streamlit/
|
||
|
COPY ./runpod_entrypoint.sh /sd/entrypoint.sh
|
||
|
ENTRYPOINT /sd/entrypoint.sh
|
||
|
|
||
|
RUN mkdir -p ~/.streamlit/
|
||
|
RUN echo "[general]" > ~/.streamlit/credentials.toml
|
||
|
RUN echo "email = \"\"" >> ~/.streamlit/credentials.toml
|