mirror of
https://github.com/AbdBarho/stable-diffusion-webui-docker.git
synced 2026-02-03 06:04:24 +01:00
Automated install of pip packages for nodes
This commit is contained in:
parent
8fcfda3fd9
commit
bde16fc226
|
|
@ -22,4 +22,16 @@ for to_path in "${!MOUNTS[@]}"; do
|
|||
echo Mounted $(basename "${from_path}")
|
||||
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 "$@"
|
||||
|
|
|
|||
Loading…
Reference in a new issue