MrA7A commited on
Commit
9e194ec
·
verified ·
1 Parent(s): b64ef8d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -6
Dockerfile CHANGED
@@ -10,12 +10,14 @@ ENV PYTHONUNBUFFERED=1 \
10
  # Create app directory
11
  WORKDIR /app
12
 
13
- # Install system dependencies for llama-cpp-python (if needed, often included in base image)
14
- # RUN apt-get update && apt-get install -y --no-install-recommends \
15
- # build-essential \
16
- # cmake \
17
- # libopenblas-dev \
18
- # && rm -rf /var/lib/apt/lists/*
 
 
19
 
20
  # Copy requirements file and install Python dependencies
21
  COPY requirements.txt .
 
10
  # Create app directory
11
  WORKDIR /app
12
 
13
+ # Install system dependencies for llama-cpp-python
14
+ # These are build tools and compilers required to build llama-cpp-python from source
15
+ RUN apt-get update && apt-get install -y --no-install-recommends \
16
+ build-essential \
17
+ cmake \
18
+ libopenblas-dev \
19
+ git \
20
+ && rm -rf /var/lib/apt/lists/*
21
 
22
  # Copy requirements file and install Python dependencies
23
  COPY requirements.txt .