Spaces:
Sleeping
Sleeping
Download Dockerfile from BasToTheMax/ollama: direct link, hf CLI and curl.
- Browser
- Download file 318 Bytes
-
https://huggingface.co/spaces/BasToTheMax/ollama/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/BasToTheMax/ollama/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/BasToTheMax/ollama/resolve/main/Dockerfile
318 Bytes
| FROM ollama/ollama:latest | |
| # Custom user is required for permissions and stuff | |
| RUN useradd --home /home/container container | |
| COPY . /home/container | |
| RUN chown -R container /home/container | |
| RUN chmod 777 /home/container -R | |
| USER container | |
| ENV USER=container HOME=/home/container | |
| WORKDIR /home/container |