#syntax = docker/dockerfile:1.4 FROM ollama/ollama:latest AS ollama FROM babashka/babashka:latest # just using as a client - never as a server COPY --from=ollama /bin/ollama ./bin/ollama COPY < /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"))) (catch Throwable _ (System/exit 1))) EOF ENTRYPOINT ["bb", "-f", "pull_model.clj"]