@@ -34,15 +34,15 @@ SHELL ["/bin/bash", "-ceuxo", "pipefail"]
34
34
35
35
ENV DEBIAN_FRONTEND=noninteractive PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1
36
36
37
- RUN pip install torch==1.12.1+cu113 torchvision==0.13.1+cu113 --extra-index-url https://download.pytorch.org/whl/cu113
37
+ RUN pip install torch==1.12.1+cu116 torchvision==0.13.1+cu116 --extra-index-url https://download.pytorch.org/whl/cu116
38
38
39
39
RUN apt-get update && apt install fonts-dejavu-core rsync git jq moreutils -y && apt-get clean
40
40
41
41
42
42
RUN <<EOF
43
43
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git
44
44
cd stable-diffusion-webui
45
- git reset --hard d885a4a57b72152745ca76192ef1bdda29e6461d
45
+ git reset --hard 98947d173e3f1667eba29c904f681047dea9de90
46
46
pip install -r requirements_versions.txt
47
47
EOF
48
48
@@ -56,28 +56,29 @@ ENV ROOT=/stable-diffusion-webui
56
56
57
57
COPY --from=download /git/ ${ROOT}
58
58
RUN mkdir ${ROOT}/interrogate && cp ${ROOT}/repositories/clip-interrogator/data/* ${ROOT}/interrogate
59
- RUN pip install --prefer-binary --no-cache-dir - r ${ROOT}/repositories/CodeFormer/requirements.txt
59
+ RUN pip install -r ${ROOT}/repositories/CodeFormer/requirements.txt
60
60
61
61
62
62
ARG DEEPDANBOORU="0"
63
63
RUN [[ "${DEEPDANBOORU:-0}" == "0" ]] && : || pip install tensorflow-cpu==2.10 tensorflow-io==0.27.0 git+https://github.com/KichangKim/DeepDanbooru.git@edf73df4cdaeea2cf00e9ac08bd8a9026b7a7b26#egg=deepdanbooru
64
64
65
+ RUN pip install opencv-python-headless \
66
+ git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \
67
+ git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
68
+ pyngrok
69
+
65
70
# Note: don't update the sha of previous versions because the install will take forever
66
71
# instead, update the repo state in a later step
67
72
68
- ARG SHA=ac085628540d0ec6a988fad93f5b8f2154209571
73
+ ARG SHA=98947d173e3f1667eba29c904f681047dea9de90
69
74
RUN <<EOF
70
75
cd stable-diffusion-webui
71
76
git fetch
72
77
git reset --hard ${SHA}
73
78
pip install -r requirements_versions.txt
74
79
EOF
75
80
76
- RUN pip install opencv-python-headless \
77
- git+https://github.com/TencentARC/GFPGAN.git@8d2447a2d918f8eba5a4a01463fd48e45126a379 \
78
- git+https://github.com/openai/CLIP.git@d50d76daa670286dd6cacf3bcd80b5e4823fc8e1 \
79
- pyngrok
80
-
81
+ RUN pip install opencv-python-headless
81
82
82
83
COPY . /docker
83
84
0 commit comments