ztime commited on
Commit
bc1c0b6
1 Parent(s): 6781f31

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -8,6 +8,6 @@ RUN git clone https://github.com/ggerganov/llama.cpp --depth 1 repo && cd repo &
8
  RUN cd repo && cmake -B build && cmake --build build --config Release --target server && cp ./build/bin/server /app/server
9
  RUN wget -c -O model.gguf "https://huggingface.co/zhangtao103239/Qwen-1.8B-GGUF/resolve/main/qwen-1.8b-q5_k_m.gguf"
10
  EXPOSE 7860
11
- ENTRYPOINT ["/app/server", "-m" "model.gguf", "--host", "0.0.0.0", "--port", "7860"]
12
 
13
 
 
8
  RUN cd repo && cmake -B build && cmake --build build --config Release --target server && cp ./build/bin/server /app/server
9
  RUN wget -c -O model.gguf "https://huggingface.co/zhangtao103239/Qwen-1.8B-GGUF/resolve/main/qwen-1.8b-q5_k_m.gguf"
10
  EXPOSE 7860
11
+ ENTRYPOINT ["sh", "-c", "/app/server -m model.gguf --host 0.0.0.0 --port 7860"]
12
 
13