Update Dockerfile
Browse files- Dockerfile +5 -5
Dockerfile
CHANGED
@@ -2,12 +2,12 @@ FROM ubuntu
|
|
2 |
ARG MODEL
|
3 |
ARG MODEL_NAME
|
4 |
ARG ADDITIONAL
|
5 |
-
RUN mkdir /
|
6 |
-
RUN apt update && apt install git build-essential
|
7 |
RUN git clone https://github.com/lostruins/koboldcpp /opt/koboldcpp
|
8 |
-
WORKDIR /
|
9 |
-
COPY 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
|
13 |
|
|
|
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 /opt/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
|
13 |
|