mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2025-11-30 15:44:28 -05:00
Add Forge
Add Automatic1111-Forge: https://github.com/lllyasviel/stable-diffusion-webui-forge
This commit is contained in:
3
services/AUTOMATIC1111/Dockerfile
Normal file → Executable file
3
services/AUTOMATIC1111/Dockerfile
Normal file → Executable file
@@ -30,9 +30,10 @@ WORKDIR /
|
||||
RUN --mount=type=cache,target=/root/.cache/pip \
|
||||
git clone https://github.com/AUTOMATIC1111/stable-diffusion-webui.git && \
|
||||
cd stable-diffusion-webui && \
|
||||
git reset --hard v1.9.4 && \
|
||||
git reset --hard v1.10.1 && \
|
||||
pip install -r requirements_versions.txt
|
||||
|
||||
RUN pip install -U typing_extensions
|
||||
|
||||
ENV ROOT=/stable-diffusion-webui
|
||||
|
||||
|
||||
10
services/AUTOMATIC1111/clone.sh
Normal file → Executable file
10
services/AUTOMATIC1111/clone.sh
Normal file → Executable file
@@ -1,11 +1,15 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -Eeuox pipefail
|
||||
set -Eeox pipefail
|
||||
|
||||
mkdir -p /repositories/"$1"
|
||||
cd /repositories/"$1"
|
||||
git init
|
||||
git remote add origin "$2"
|
||||
git fetch origin "$3" --depth=1
|
||||
git reset --hard "$3"
|
||||
|
||||
if [ -n "$3" ]; then
|
||||
git fetch origin "$3" --depth=1
|
||||
git reset --hard "$3"
|
||||
fi
|
||||
|
||||
rm -rf .git
|
||||
|
||||
0
services/AUTOMATIC1111/config.py
Normal file → Executable file
0
services/AUTOMATIC1111/config.py
Normal file → Executable file
Reference in New Issue
Block a user