Commit
·
e02f5d0
1
Parent(s):
3031528
Dockerfile updated: Use slim Debian base for musl-compatible llama-cpp wheel
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -1,4 +1,10 @@
|
|
1 |
FROM python:3.11-slim
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
WORKDIR /app
|
3 |
COPY requirements.txt .
|
4 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
1 |
FROM python:3.11-slim
|
2 |
+
|
3 |
+
# Install runtime deps for llama-cpp-python
|
4 |
+
RUN apt-get update && apt-get install -y --no-install-recommends \
|
5 |
+
libgomp1 curl ca-certificates && \
|
6 |
+
rm -rf /var/lib/apt/lists/*
|
7 |
+
|
8 |
WORKDIR /app
|
9 |
COPY requirements.txt .
|
10 |
RUN pip install --no-cache-dir -r requirements.txt
|