Skip to content

Commit 76989b3

Browse files
authored
Update Versions (#42)
* Update hlky * Update automatic
1 parent 4d9fc38 commit 76989b3

2 files changed

Lines changed: 11 additions & 13 deletions

File tree

AUTOMATIC1111/Dockerfile

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -24,32 +24,30 @@ git reset --hard db6db585eb9ee48e7315e28603e18531dbc87067
2424
pip install -U --prefer-binary --no-cache-dir -r requirements.txt
2525
EOF
2626

27+
ENV ROOT=/workspace/stable-diffusion-webui \
28+
WORKDIR=/workspace/stable-diffusion-webui/repositories/stable-diffusion
29+
30+
COPY --from=download /git/ ${ROOT}
31+
RUN pip install --prefer-binary -U --no-cache-dir -r ${ROOT}/repositories/CodeFormer/requirements.txt
32+
2733
# Note: don't update the sha of previous versions because the install will take forever
2834
# instead, update the repo state in a later step
29-
ARG SHA=e92d4cf7476f1897fce376916dfb40755ea7920f
35+
ARG SHA=701f76b29ab8fa9c1d35ae8abce36b99e12d5d08
3036
RUN <<EOF
3137
cd stable-diffusion-webui
3238
git pull
3339
git reset --hard ${SHA}
34-
pip install -U --prefer-binary --no-cache-dir -r requirements.txt
40+
pip install --prefer-binary --no-cache-dir -r requirements.txt
3541
EOF
3642

37-
ENV ROOT=/workspace/stable-diffusion-webui \
38-
WORKDIR=/workspace/stable-diffusion-webui/repositories/stable-diffusion
39-
40-
COPY --from=download /git/ ${ROOT}
41-
RUN <<EOF
42-
pip install --prefer-binary -U --no-cache-dir -r ${ROOT}/repositories/CodeFormer/requirements.txt
43-
pip install --prefer-binary -U --no-cache-dir opencv-python-headless markupsafe==2.0.1
44-
EOF
43+
RUN pip install --prefer-binary -U --no-cache-dir opencv-python-headless markupsafe==2.0.1
4544

4645
ENV TRANSFORMERS_CACHE=/cache/transformers TORCH_HOME=/cache/torch CLI_ARGS=""
4746

48-
4947
COPY . /docker
5048
RUN chmod +x /docker/mount.sh && python3 /docker/info.py ${ROOT}/modules/ui.py
5149

5250
WORKDIR ${WORKDIR}
5351
EXPOSE 7860
5452
# run, -u to not buffer stdout / stderr
55-
CMD /docker/mount.sh && python3 -u ../../webui.py --listen ${CLI_ARGS}
53+
CMD /docker/mount.sh && python3 -u ../../webui.py --listen --port 7860 ${CLI_ARGS}

hlky/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN pip install -U --no-cache-dir pyperclip
2323

2424
# Note: don't update the sha of previous versions because the install will take forever
2525
# instead, update the repo state in a later step
26-
ARG WEBUI_SHA=2b1ac8daf7ea82c6c56eabab7e80ec1c33106a98
26+
ARG WEBUI_SHA=0dffc3918d596ad36a32ac56ecf4d523f490ae5e
2727
RUN cd stable-diffusion && git pull && git reset --hard ${WEBUI_SHA} && \
2828
conda env update --file environment.yaml --name base && conda clean -a -y
2929

0 commit comments

Comments
 (0)