Spaces:
Build error
Build error
Download Dockerfile from sca255/codeboxgptpythonapi: direct link, hf CLI and curl.
- Browser
- Download file 331 Bytes
-
https://huggingface.co/spaces/sca255/codeboxgptpythonapi/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/sca255/codeboxgptpythonapi/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/sca255/codeboxgptpythonapi/resolve/main/Dockerfile
331 Bytes
| FROM ghcr.io/ggerganov/llama.cpp:server | |
| ARG MODEL | |
| ARG IMGMODEL | |
| ARG WHISPERMODEL | |
| ARG MMPROJ | |
| ARG MODEL_NAME | |
| ARG ADDITIONAL | |
| RUN apt update && apt install curl unzip -y | |
| RUN curl -fLo model.ggml $MODEL || true | |
| RUN curl -fLo whispermodel.ggml $WHISPERMODEL || true | |
| ENTRYPOINT /llama-server -m model.ggml --port 7860 --host 0.0.0.0 |