mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-03-21 20:44:47 +01:00
Automated install of pip packages for nodes
This commit is contained in:
parent
37150c56eb
commit
1c129ee190
|
|
@ -44,4 +44,16 @@ for to_path in "${!MOUNTS[@]}"; do
|
||||||
echo Mounted $(basename "${from_path}")
|
echo Mounted $(basename "${from_path}")
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [ "$(ls -A /stable-diffusion/custom_nodes)" ]; then
|
||||||
|
chmod 777 -R "/stable-diffusion/custom_nodes/"
|
||||||
|
apt-get install build-essential -y
|
||||||
|
for dir in "/stable-diffusion/custom_nodes/*/"; do
|
||||||
|
if [ -d $dir ]; then
|
||||||
|
echo $dir
|
||||||
|
cd $dir
|
||||||
|
pip install -r requirements.txt
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue