mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-11-28 14:44:17 -05:00
Update versions (#185)
- auto:35c45df28b- hlky:091520bed0- lstein:fdf9b1c40c
This commit is contained in:
@@ -4,27 +4,25 @@ FROM continuumio/miniconda3:4.12.0
|
||||
|
||||
SHELL ["/bin/bash", "-ceuxo", "pipefail"]
|
||||
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
ENV DEBIAN_FRONTEND=noninteractive PIP_EXISTS_ACTION=w PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1
|
||||
|
||||
# now it requires python3.9
|
||||
RUN conda install python=3.9 && conda clean -a -y
|
||||
RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch && conda clean -a -y
|
||||
|
||||
RUN apt-get update && apt install fonts-dejavu-core rsync gcc -y && apt-get clean
|
||||
|
||||
ENV PIP_EXISTS_ACTION=w
|
||||
RUN apt-get update && apt install fonts-dejavu-core -y && apt-get clean
|
||||
|
||||
RUN <<EOF
|
||||
git clone https://github.com/invoke-ai/InvokeAI.git stable-diffusion
|
||||
cd stable-diffusion
|
||||
git reset --hard 79e79b78aaeedb49afcc795e0e00eebfdbedee96
|
||||
git reset --hard 986cc49d7a8441a70c709c04a55016a1c783f2ed
|
||||
git config --global http.postBuffer 1048576000
|
||||
conda env update --file environment.yml -n base
|
||||
# conda env update --file environment.yml -n base
|
||||
conda clean -a -y
|
||||
EOF
|
||||
|
||||
|
||||
ARG BRANCH=development SHA=2b6d78e4363f3eca726228a40b6de832eb0ac040
|
||||
ARG BRANCH=development SHA=fdf9b1c40c243d6806e787877e42ae4c115790ee
|
||||
RUN <<EOF
|
||||
cd stable-diffusion
|
||||
git fetch
|
||||
|
||||
Reference in New Issue
Block a user