Spaces:
Runtime error
Runtime error
Download Dockerfile from ecyht2/llama-cpp-template: direct link, hf CLI and curl.
- Browser
- Download file 351 Bytes
-
https://huggingface.co/spaces/ecyht2/llama-cpp-template/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/ecyht2/llama-cpp-template/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/ecyht2/llama-cpp-template/resolve/main/Dockerfile
351 Bytes
| FROM python:3.10 | |
| WORKDIR /app | |
| COPY ./requirements.txt /app/requirements.txt | |
| RUN pip install --no-cache-dir --upgrade -r requirements.txt | |
| RUN wget https://huggingface.co/TheBloke/dolphin-2_6-phi-2-GGUF/resolve/main/dolphin-2_6-phi-2.Q4_K_M.gguf -O model.gguf | |
| RUN useradd -m -u 1000 user | |
| USER user | |
| COPY --chown=user . . | |
| CMD ["python", "app.py"] | |