ztime commited on
Commit
55204ef
1 Parent(s): 7aed534

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -1,6 +1,6 @@
1
- FROM ubuntu:22.04
2
 
3
- RUN apt install -y git cmake clang
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"
 
1
+ FROM python:3.11-slim
2
 
3
+ RUN apt update && apt install -y git cmake clang
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"