CreativeWorks/server_cpp
0
1FROM python:3.9-slim-bookworm2USER root3RUN apt update && apt install curl git gcc make build-essential -y4RUN git clone https://github.com/ggerganov/llama.cpp5WORKDIR /llama.cpp6RUN make -ij server7WORKDIR /llama.cpp/models 8RUN curl -L "https://huggingface.co/CreativeWorks/CreativeWorks_Llama-3-8B-BR-8K/resolve/main/CreativeWorks_Llama-3-8B-BR-8Kunsloth.Q4_K_M.gguf?download=true" --output CreativeWorks_Llama-3-8B-BR-8Kunsloth.Q4_K_M.gguf9WORKDIR /llama.cpp10EXPOSE 786011RUN chmod -R 777 /llama.cpp12RUN nproc13CMD ./server --host 0.0.0.0 --port 7860 -t 3 -m ./models/CreativeWorks_Llama-3-8B-BR-8Kunsloth.Q4_K_M.gguf --parallel 2