build error

Job failed with exit code: 1. Reason: cache miss: [ 9/10] RUN curl -fsSL https://ollama.ai/install.sh | sh cache miss: [ 3/10] RUN useradd -m -u 1000 user cache miss: [10/10] RUN echo '#!/bin/bash\n\necho "=== Starting Ollama FastAPI Server on Hugging Face === "\n\nexport OLLAMA_MODELS="/home/user/.ollama/models"\n\necho "Starting Ollama service..."\nollama serve &\n\necho "Waiting for Ollama to start..."\nsleep 15\n\nif curl -s http://localhost:11434/api/tags > /dev/null; then\n echo "Ollama is running!"\n \n echo "Pulling tinyllama:1.1b model..."\n ollama pull tinyllama:1.1b &\n \nelse\n echo "Ollama failed to start. Starting FastAPI without Ollama..."\nfi\n\necho "Starting FastAPI server on port 7860..."\npython -m uvicorn main:app --host 0.0.0.0 --port 7860\n' > start.sh && chmod +x start.sh cache miss: [ 5/10] COPY --chown=user:user requirements.txt . cache miss: [ 4/10] WORKDIR /app cache miss: [ 8/10] RUN mkdir -p /home/user/app && chown user:user /home/user/app cache miss: [ 7/10] RUN pip install --user --no-cache-dir -r requirements.txt cache miss: [ 6/10] COPY --chown=user:user main.py . {"total":15,"completed":14,"user_total":10,"user_cached":1,"user_completed":9,"user_cacheable":9,"from":1,"miss":8,"client_duration_ms":6796}

Build logs:

Fetching error logs...