Update Dockerfile
Browse files- Dockerfile +4 -4
Dockerfile
CHANGED
@@ -2,11 +2,11 @@ FROM ubuntu
|
|
2 |
ARG MODEL
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
-
RUN mkdir /koboldcpp
|
6 |
RUN apt update && apt install git build-essential wget python3-pip -y
|
7 |
-
RUN git clone https://github.com/lostruins/koboldcpp /koboldcpp
|
8 |
-
WORKDIR /koboldcpp
|
9 |
-
COPY default.json /koboldcpp/default.json
|
10 |
RUN make
|
11 |
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
|
12 |
CMD /bin/python3 ./koboldcpp.py --model model.gguf $ADDITIONAL --port 7860
|
|
|
2 |
ARG MODEL
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
+
RUN mkdir /opt/koboldcpp
|
6 |
RUN apt update && apt install git build-essential wget python3-pip -y
|
7 |
+
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
8 |
+
WORKDIR /opt/koboldcpp
|
9 |
+
COPY default.json /opt/koboldcpp/default.json
|
10 |
RUN make
|
11 |
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
|
12 |
CMD /bin/python3 ./koboldcpp.py --model model.gguf $ADDITIONAL --port 7860
|