Spaces:
Runtime error
Runtime error
Download Dockerfile from randomtable/Llamafile: direct link, hf CLI and curl.
- Browser
- Download file 414 Bytes
-
https://huggingface.co/spaces/randomtable/Llamafile/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/randomtable/Llamafile/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/randomtable/Llamafile/resolve/main/Dockerfile
414 Bytes
| FROM kalilinux/kali-rolling | |
| RUN apt update && apt upgrade -y | |
| RUN apt install wget -y | |
| RUN wget https://huggingface.co/jartine/llava-v1.5-7B-GGUF/resolve/main/llava-v1.5-7b-q4.llamafile | |
| RUN chmod +x llava-v1.5-7b-q4.llamafile | |
| RUN apt install adduser -y | |
| RUN addgroup --gid 1000 user | |
| RUN adduser --uid 1000 --gid 1000 --disabled-password --gecos "" user | |
| USER user | |
| ENTRYPOINT ./llava-v1.5-7b-q4.llamafile --host 0.0.0.0 |