Spaces:
Runtime error
Runtime error
Download Dockerfile from navalmen007/of_LLms: direct link, hf CLI and curl.
- Browser
- Download file 327 Bytes
-
https://huggingface.co/spaces/navalmen007/of_LLms/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/navalmen007/of_LLms/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/navalmen007/of_LLms/resolve/main/Dockerfile
327 Bytes
| # Builder stage | |
| FROM ubuntu:latest | |
| RUN apt update && apt install curl -y | |
| RUN curl https://ollama.ai/install.sh | sh | |
| # Create the directory and give appropriate permissions | |
| RUN mkdir -p /.ollama && chmod 777 /.ollama | |
| WORKDIR /.ollama | |
| # Command to run the application | |
| CMD ollama serve | |
| # Expose the server port | |
| EXPOSE 7860 |