@@ -2,13 +2,11 @@ FROM alpine/git:2.36.2 as download
22
33COPY clone.sh /clone.sh
44
5+ RUN . /clone.sh stable-diffusion-webui-assets https://github.com/AUTOMATIC1111/stable-diffusion-webui-assets.git 6f7db241d2f8ba7457bac5ca9753331f0c266917
56
67RUN . /clone.sh stable-diffusion-stability-ai https://github.com/Stability-AI/stablediffusion.git cf1d67a6fd5ea1aa600c4df58e5b47da45f6bdbf \
78 && rm -rf assets data/**/*.png data/**/*.jpg data/**/*.gif
89
9- RUN . /clone.sh CodeFormer https://github.com/sczhou/CodeFormer.git c5b4593074ba6214284d6acd5f1719b6c5d739af \
10- && rm -rf assets inputs
11-
1210RUN . /clone.sh BLIP https://github.com/salesforce/BLIP.git 48211a1594f1321b00f14c9f7a5b4813144b2fb9
1311RUN . /clone.sh k-diffusion https://github.com/crowsonkb/k-diffusion.git ab527a9a6d347f364e3d185ba6d714e22d80cb3c
1412RUN . /clone.sh clip-interrogator https://github.com/pharmapsychotic/clip-interrogator 2cf03aaf6e704197fd0dae7c7f96aa59cf1b11c9
@@ -31,16 +29,14 @@ WORKDIR /
3129RUN --mount=type=cache,target=/root/.cache/pip \
3230 git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git && \
3331 cd stable-diffusion-webui && \
34- git reset --hard cf2772fab0af5573da775e7437e6acdca424f26e && \
32+ git reset --hard v1.9.3 && \
3533 pip install -r requirements_versions.txt
3634
3735
3836ENV ROOT=/stable-diffusion-webui
3937
4038COPY --from=download /repositories/ ${ROOT}/repositories/
4139RUN mkdir ${ROOT}/interrogate && cp ${ROOT}/repositories/clip-interrogator/clip_interrogator/data/* ${ROOT}/interrogate
42- RUN --mount=type=cache,target=/root/.cache/pip \
43- pip install -r ${ROOT}/repositories/CodeFormer/requirements.txt
4440
4541RUN --mount=type=cache,target=/root/.cache/pip \
4642 pip install pyngrok xformers==0.0.23.post1 \
0 commit comments