mirror of
https://github.com/KoboldAI/KoboldAI-Client.git
synced 2025-06-05 21:59:24 +02:00
Docker Fix
This commit is contained in:
@@ -9,10 +9,11 @@ if [[ ! -d "/content" ]];then
|
|||||||
mkdir /content
|
mkdir /content
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for FILE in /content/*;do
|
for FILE in /content/*
|
||||||
rm -rf /opt/koboldai/$FILE
|
do
|
||||||
ln -s /content/$FILE /opt/koboldai/
|
FILENAME="$(basename $FILE)"
|
||||||
#mount --bind /content/$FILE /opt/koboldai/$FILE
|
rm -rf /opt/koboldai/$FILENAME
|
||||||
|
ln -s $FILE /opt/koboldai/
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user