ztime commited on
Commit
0273a26
1 Parent(s): d2c4e99

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -2,8 +2,8 @@ FROM python:3.11-slim
2
 
3
  RUN apt update && apt install -y git cmake build-essential ninja-build
4
  WORKDIR /app
5
- RUN git clone https://github.com/ggerganov/llama.cpp --depth 1 repo && cd repo && cmake -B build && cmake --build build --config Release --target server && cp ../build/bin/server /app/server
6
- RUN wget -c -o model.gguf "https://huggingface.co/zhangtao103239/Qwen-1.8B-GGUF/resolve/main/qwen-1.8b-q5_k_m.gguf"
7
  EXPOSE 7860
8
  CMD ["/app/server", "-m" "model.gguf", "--host", "0.0.0.0", "--port", "7860"]
9
 
 
2
 
3
  RUN apt update && apt install -y git cmake build-essential ninja-build
4
  WORKDIR /app
5
+ RUN git clone https://github.com/ggerganov/llama.cpp --depth 1 repo && cd repo && cmake -B build && cmake --build build --config Release --target server && cp ./build/bin/server /app/server
6
+ RUN wget -c -O model.gguf "https://huggingface.co/zhangtao103239/Qwen-1.8B-GGUF/resolve/main/qwen-1.8b-q5_k_m.gguf"
7
  EXPOSE 7860
8
  CMD ["/app/server", "-m" "model.gguf", "--host", "0.0.0.0", "--port", "7860"]
9