mirror of
https://github.com/mudler/LocalAI.git
synced 2024-12-28 08:28:51 +00:00
17 lines
394 B
Bash
17 lines
394 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
cd /workspace
|
||
|
|
||
|
# Get the files into the volume without a bind mount
|
||
|
if [ ! -d ".git" ]; then
|
||
|
git clone https://github.com/mudler/LocalAI.git .
|
||
|
else
|
||
|
git fetch
|
||
|
fi
|
||
|
|
||
|
echo "Standard Post-Create script completed."
|
||
|
|
||
|
if [ -f "/devcontainer-customization/postcreate.sh" ]; then
|
||
|
echo "Launching customization postcreate.sh"
|
||
|
bash "/devcontainer-customization/postcreate.sh"
|
||
|
fi
|