Browse Source

Fix syntax error in conditional for Ollama installation

Everett Wilber 1 tháng trước cách đây
mục cha
commit
b2d1aa3c6e
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      Dockerfile

+ 1 - 1
Dockerfile

@@ -144,7 +144,7 @@ RUN pip3 install --no-cache-dir uv && \
     chown -R $UID:$GID /app/backend/data/
 
 # 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 && \
     echo "Cache broken at timestamp: `cat /tmp/ollama_build_hash`" && \
     curl -fsSL https://ollama.com/install.sh | sh && \