Spaces:
Running on CPU Upgrade
Running on CPU Upgrade
Download Dockerfile from VIDraft/vk-e4b-model: direct link, hf CLI and curl.
- Browser
- Download file 391 Bytes
-
https://huggingface.co/spaces/VIDraft/vk-e4b-model/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/VIDraft/vk-e4b-model/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/VIDraft/vk-e4b-model/resolve/main/Dockerfile
391 Bytes
| FROM ghcr.io/ggml-org/llama.cpp:server | |
| RUN apt-get update && apt-get install -y --no-install-recommends python3-pip curl && pip3 install --no-cache-dir --break-system-packages "huggingface_hub>=1.2" && rm -rf /var/lib/apt/lists/* | |
| COPY --chown=1000 start.sh /start.sh | |
| RUN mkdir -p /home/user && chown 1000 /home/user | |
| USER 1000 | |
| ENV HOME=/home/user | |
| EXPOSE 7860 | |
| ENTRYPOINT ["bash", "/start.sh"] | |