diff --git a/pull_model.Dockerfile b/pull_model.Dockerfile index 4c8a9e33..e59398f7 100644 --- a/pull_model.Dockerfile +++ b/pull_model.Dockerfile @@ -26,7 +26,7 @@ COPY < /dev/null || ./bin/ollama pull %s'" llm llm)) + (process/shell {:env {"OLLAMA_HOST" url "HOME" (System/getProperty "user.home")} :out :inherit :err :inherit} (format "bash -c './bin/ollama show %s --modelfile > /dev/null || ./bin/ollama pull %s'" llm llm)) (async/>!! done :stop)) (println "OLLAMA model only pulled if both LLM and OLLAMA_BASE_URL are set and the LLM model is not gpt")))