matthoffner commited on
Commit
05c8990
·
1 Parent(s): 7131f6c

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -14,8 +14,8 @@ RUN wget https://huggingface.co/mys/ggml_llava-v1.5-13b/raw/main/ggml-model-q4_k
14
  wget https://huggingface.co/mys/ggml_llava-v1.5-13b/raw/main/mmproj-model-f16.gguf
15
 
16
  # Clone and build llava-server
17
- RUN git clone https://github.com/matthoffner/llava-cpp-server.git llava && \
18
- cd llava && \
19
  git submodule init && \
20
  git submodule update && \
21
  make
@@ -35,4 +35,5 @@ WORKDIR $HOME/app
35
  EXPOSE 8080
36
 
37
  # Start the llava-server with models
38
- CMD ["../llava/bin/llava-server", "-m", "ggml-model-q4_k.gguf", "--mmproj", "mmproj-model-f16.gguf", "--host", "0.0.0.0", "--port", "8080"]
 
 
14
  wget https://huggingface.co/mys/ggml_llava-v1.5-13b/raw/main/mmproj-model-f16.gguf
15
 
16
  # Clone and build llava-server
17
+ RUN git clone https://github.com/matthoffner/llava-cpp-server.git && \
18
+ cd llava-cpp-server && \
19
  git submodule init && \
20
  git submodule update && \
21
  make
 
35
  EXPOSE 8080
36
 
37
  # Start the llava-server with models
38
+ CMD ["/app/llava-cpp-server/bin/llava-server", "-m", "ggml-model-q4_k.gguf", "--mmproj", "mmproj-model-f16.gguf", "--host", "0.0.0.0", "--port", "8080"]
39
+