existence-master / existence-master/Sentient
[BUG] Docker build failing for self hosting
- Dominant language
- Python
- Stars
- 690
- Forks
- 102
- PR merge metrics
- No merged PRs in 30d
Description
Running the build as described in https://sentient-2.gitbook.io/docs/getting-started/running-sentient-from-source-self-host
keep getting the same error:
405.2 Error: ollama server not responding - could not connect to ollama server, run 'ollama serve' to start it
------
Dockerfile:43
--------------------
42 | # Conditional Ollama installation
43 | >>> RUN if [ "$OPENAI_API_KEY" = "ollama" ]; then \
44 | >>> echo "Ollama API key detected. Installing Ollama..."; \
45 | >>> curl -fsSL https://ollama.com/install.sh | sh; \
46 | >>> echo "Pulling model: ${OPENAI_MODEL_NAME}"; \
47 | >>> /usr/local/bin/ollama pull ${OPENAI_MODEL_NAME}; \
48 | >>> else \
49 | >>> echo "Ollama configuration not detected. Skipping installation."; \
50 | >>> fi
51 |
--------------------
target server: failed to solve: process "/bin/sh -c if [ \"$OPENAI_API_KEY\" = \"ollama\" ]; then echo \"Ollama API key detected. Installing Ollama...\"; curl -fsSL https://ollama.com/install.sh | sh; echo \"Pulling model: ${OPENAI_MODEL_NAME}\"; /usr/local/bin/ollama pull ${OPENAI_MODEL_NAME}; else echo \"Ollama configuration not detected. Skipping installation.\"; fi" did not complete successfully: exit code: 1
Contributor guide
Assessment
This issue has not been assessed yet.