Initial commit

This commit is contained in:
ml
2026-09-30 07:55:26 +02:00
commit 45ccbccaaf
7 changed files with 352 additions and 0 deletions
+13
View File
@@ -0,0 +1,13 @@
#!/usr/bin/env bash
# Build the local AI container image (model is downloaded into the image).
set -euo pipefail
cd "$(dirname "$0")"
[ -f .ai-config ] && [ -f Dockerfile ] || { echo "No Dockerfile/.ai-config yet - run ./setup.sh first." >&2; exit 1; }
# shellcheck disable=SC1091
source .ai-config
echo "Building $IMAGE_NAME (model: $MODEL) - this downloads the model, may take a while..."
docker build -t "$IMAGE_NAME" .
echo
echo "Done. Next: ./run-ai-image.sh"