#! /usr/bin/env bash . /opt/intel/oneapi/setvars.sh /ollama/ollama serve & if [ -n "$INIT_MODELS" ]; then /ollama/ollama rm model || true echo "FROM /models/$MODEL_NAME" > /tmp/Modelfile /ollama/ollama create -f /tmp/Modelfile model fi exec $@