Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +7 -0
Dockerfile
CHANGED
@@ -4,6 +4,13 @@ FROM python:3.10-slim
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
7 |
# Copy the requirements file into the container
|
8 |
COPY requirements.txt .
|
9 |
|
|
|
4 |
# Set the working directory in the container
|
5 |
WORKDIR /app
|
6 |
|
7 |
+
# Install system dependencies required for llama-cpp-python
|
8 |
+
RUN apt-get update && apt-get install -y \
|
9 |
+
build-essential \
|
10 |
+
cmake \
|
11 |
+
git \
|
12 |
+
&& rm -rf /var/lib/apt/lists/*
|
13 |
+
|
14 |
# Copy the requirements file into the container
|
15 |
COPY requirements.txt .
|
16 |
|