Added ai-tools image option
This commit is contained in:
21
ai-tools/Docker/scripts/run.sh
Executable file
21
ai-tools/Docker/scripts/run.sh
Executable file
@@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
# . CONFIG.sh
|
||||
|
||||
# set -o xtrace ## To debug scripts
|
||||
# set -o errexit ## To exit on error
|
||||
# set -o errunset ## To exit if a variable is referenced but not set
|
||||
set -e
|
||||
|
||||
|
||||
function main() {
|
||||
SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
|
||||
cd "${SCRIPTPATH}"
|
||||
echo "Working Dir: " $(pwd)
|
||||
|
||||
trap "kill 0" SIGTERM SIGINT
|
||||
|
||||
# ollama launch opencode --model llama3.1
|
||||
ollama serve
|
||||
}
|
||||
main $@;
|
||||
Reference in New Issue
Block a user