File size: 474 Bytes
fb17283
e449931
a1992ae
015004d
778d4a0
 
8e83484
778d4a0
 
4167d36
778d4a0
48992d1
a82a39b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FROM ubuntu
ARG MODEL
ARG MODEL_NAME
ARG ADDITIONAL
RUN mkdir /koboldcpp
RUN apt update && apt install git build-essential wget python3-pip -y
RUN git clone https://github.com/lostruins/koboldcpp /koboldcpp
WORKDIR /koboldcpp
COPY default.json /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