fix dir
Some checks failed
Builder / Build addons (localai-p2p-master, amd64) (push) Failing after 15s
Builder / Build addons (localai-p2p-worker, amd64) (push) Failing after 14s
Validate / validate (push) Failing after 2s
Builder / Create release (push) Has been skipped

This commit is contained in:
2025-05-30 12:26:09 +02:00
parent 1bba7de3de
commit 1e52ce65d1
4 changed files with 14 additions and 4 deletions

View File

@@ -8,4 +8,7 @@ if [ ! -z "$TOKEN" ]; then
export LOCALAI_P2P_TOKEN="$TOKEN"
fi
# Créer le répertoire des modèles s'il n'existe pas
mkdir -p /share/localai/models
exec /build/local-ai run --models-path=/share/localai/models --gpu-layers="$GPU_LAYERS"