koboldcpp_cpu / Dockerfile
Aryanne's picture
Update Dockerfile
5ed6cb9
raw
history blame
490 Bytes
FROM ubuntu
ARG MODEL
ARG MODEL_NAME
ARG ADDITIONAL
RUN mkdir /opt/koboldcpp
RUN apt update && apt install git build-essential wget python3-pip -y
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
WORKDIR /opt/koboldcpp
COPY default.json /opt/koboldcpp/default.json
RUN make
RUN wget -O model.gguf https://huggingface.co/TheBloke/dolphin-2_6-phi-2-GGUF/resolve/main/dolphin-2_6-phi-2.Q4_K_M.gguf
CMD /bin/python3 ./koboldcpp.py --model model.gguf $ADDITIONAL --port 7860