1 Star 4 Fork 0

hanmochen/stable-diffusion

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Dockerfile 692 Bytes
一键复制 编辑 原始数据 按行查看 历史
FROM nvidia/cuda:11.3.1-runtime-ubuntu20.04
ENV DEBIAN_FRONTEND=noninteractive
WORKDIR /sd
SHELL ["/bin/bash", "-c"]
RUN apt-get update && \
apt-get install -y libglib2.0-0 wget && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
# Install miniconda
ENV CONDA_DIR /opt/conda
RUN wget -O ~/miniconda.sh -q --show-progress --progress=bar:force https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh && \
/bin/bash ~/miniconda.sh -b -p $CONDA_DIR && \
rm ~/miniconda.sh
ENV PATH=$CONDA_DIR/bin:$PATH
# Install font for prompt matrix
COPY /data/DejaVuSans.ttf /usr/share/fonts/truetype/
EXPOSE 7860
COPY ./entrypoint.sh /sd/
ENTRYPOINT /sd/entrypoint.sh
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hanmochen/stable-diffusion.git
git@gitee.com:hanmochen/stable-diffusion.git
hanmochen
stable-diffusion
stable-diffusion
main

搜索帮助