Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
|
@@ -4,9 +4,10 @@ FROM python:3.10-slim
|
|
| 4 |
# Set work directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
-
# Install system utilities
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
curl \
|
|
|
|
| 10 |
&& rm -rf /var/lib/apt/lists/*
|
| 11 |
|
| 12 |
# Upgrade pip and install precompiled llama-cpp-python (with server) and huggingface_hub
|
|
|
|
| 4 |
# Set work directory
|
| 5 |
WORKDIR /app
|
| 6 |
|
| 7 |
+
# Install system utilities and C++ compilers needed for building llama-cpp-python
|
| 8 |
RUN apt-get update && apt-get install -y \
|
| 9 |
curl \
|
| 10 |
+
build-essential \
|
| 11 |
&& rm -rf /var/lib/apt/lists/*
|
| 12 |
|
| 13 |
# Upgrade pip and install precompiled llama-cpp-python (with server) and huggingface_hub
|