Explorar o código

Fix syntax error in conditional for Ollama installation

Everett Wilber hai 1 mes
pai
achega
b2d1aa3c6e
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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 && \