Update Dockerfile
Browse files- Dockerfile +8 -2
Dockerfile
CHANGED
@@ -1,5 +1,11 @@
|
|
1 |
FROM python:3.11.6-bullseye
|
2 |
|
3 |
-
RUN
|
|
|
4 |
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
1 |
FROM python:3.11.6-bullseye
|
2 |
|
3 |
+
RUN git clone --recurse-submodules https://github.com/trzy/llava-cpp-server
|
4 |
+
WORKDIR llava-cpp-server
|
5 |
|
6 |
+
RUN wget https://huggingface.co/mys/ggml_llava-v1.5-7b/resolve/main/mmproj-model-f16.gguf
|
7 |
+
RUN wget https://huggingface.co/mys/ggml_llava-v1.5-7b/resolve/main/ggml-model-q4_k.gguf
|
8 |
+
|
9 |
+
RUN make
|
10 |
+
|
11 |
+
CMD ["bin/llava-server", "-m ggml-model-q4_k.gguf", "--mmproj mmproj-model-f16.gguf"]
|