PoppaYAO commited on
Commit
4223c91
·
verified ·
1 Parent(s): 6d0f077

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -7,9 +7,13 @@ RUN apt-get update && apt-get install -y \
7
 
8
  WORKDIR /app
9
 
10
- RUN git clone https://github.com/ggerganov/llama.cpp
 
 
 
11
  WORKDIR /app/llama.cpp
12
- RUN make
 
13
 
14
  WORKDIR /app
15
 
 
7
 
8
  WORKDIR /app
9
 
10
+ # Clone llama.cpp
11
+ RUN git clone https://github.com/ggml-org/llama.cpp
12
+
13
+ # Build llama.cpp using the new CMake system
14
  WORKDIR /app/llama.cpp
15
+ RUN cmake -B build
16
+ RUN cmake --build build --config Release
17
 
18
  WORKDIR /app
19