mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-16 03:47:49 +01:00
Fix syntax error in conditional for Ollama installation
This commit is contained in:
@@ -144,7 +144,7 @@ RUN pip3 install --no-cache-dir uv && \
|
|||||||
chown -R $UID:$GID /app/backend/data/
|
chown -R $UID:$GID /app/backend/data/
|
||||||
|
|
||||||
# Install Ollama if requested
|
# Install Ollama if requested
|
||||||
RUN if [ [ "$USE_OLLAMA" = "true" ] && [ "$USE_SLIM" != "true" ] ]; then \
|
RUN if [ "$USE_OLLAMA" = "true" ] && [ "$USE_SLIM" != "true" ]; then \
|
||||||
date +%s > /tmp/ollama_build_hash && \
|
date +%s > /tmp/ollama_build_hash && \
|
||||||
echo "Cache broken at timestamp: `cat /tmp/ollama_build_hash`" && \
|
echo "Cache broken at timestamp: `cat /tmp/ollama_build_hash`" && \
|
||||||
curl -fsSL https://ollama.com/install.sh | sh && \
|
curl -fsSL https://ollama.com/install.sh | sh && \
|
||||||
|
|||||||
Reference in New Issue
Block a user