PreethiCarmelBosco commited on
Commit
6fb7f6b
·
verified ·
1 Parent(s): d97f522

inclded cmake

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -3,7 +3,12 @@ FROM python:3.12-slim
3
 
4
  WORKDIR /app
5
 
6
- # Install all dependencies
 
 
 
 
 
7
  RUN pip install "llama-cpp-python[server]" huggingface_hub
8
 
9
  # --- Model Download ---
 
3
 
4
  WORKDIR /app
5
 
6
+ # --- FIX: Install build-essential and cmake ---
7
+ # llama-cpp-python needs to be compiled, so we must install
8
+ # C/C++ compilers (build-essential) and cmake first.
9
+ RUN apt-get update && apt-get install -y build-essential cmake
10
+
11
+ # Install all Python dependencies
12
  RUN pip install "llama-cpp-python[server]" huggingface_hub
13
 
14
  # --- Model Download ---