Skip to content

Commit 131f6d9

Browse files
YedPoolclaude
andcommitted
Override Ollama ENTRYPOINT to fix container startup
- Set ENTRYPOINT [] to disable Ollama's command interception - Allows CMD to execute startup script directly - Resolves persistent "unknown command for ollama" errors - Container should now start properly 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 3a29d0b commit 131f6d9

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

cerebrium/Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,6 @@ EXPOSE 8600 11434
7373
HEALTHCHECK --interval=30s --timeout=10s --start-period=60s --retries=3 \
7474
CMD curl -f http://localhost:11434/api/tags || exit 1
7575

76-
# Start both services
76+
# Override Ollama's ENTRYPOINT and start both services
77+
ENTRYPOINT []
7778
CMD ["/bin/bash", "/app/start.sh"]

0 commit comments

Comments
 (0)