Update Dockerfile
Browse files- 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
|
14 |
-
#
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
|
|
|
|
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 .
|