Skip to content

Need to add the docker/ollama folder from llm-server for entrypoint #1

Description

@ryaneggz
#!/bin/bash

echo "Starting Ollama server..."
ollama serve &

echo "Waiting for Ollama server to be active..."
while [ "$(ollama list | grep 'NAME')" == "" ]; do
  sleep 1
done

## LLaMA3
ollama pull llama3

## Embeddings
ollama pull nomic-embed-text

# Keep the container running
touch /var/log/ollama.log
tail -f /var/log/ollama.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions