AnatoliiG commited on
Commit
e5ebe08
·
1 Parent(s): 97d211e

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -1,6 +1,8 @@
1
  FROM python:3.10-slim-bookworm
2
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
 
 
4
  libopenblas0 \
5
  libgomp1 \
6
  git \
@@ -17,8 +19,8 @@ WORKDIR /app
17
 
18
  RUN pip install --no-cache-dir --upgrade pip
19
 
20
- RUN pip install --no-cache-dir llama-cpp-python \
21
- --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
22
 
23
  COPY --chown=user requirements.txt .
24
  RUN pip install --no-cache-dir -r requirements.txt
 
1
  FROM python:3.10-slim-bookworm
2
 
3
  RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ build-essential \
5
+ cmake \
6
  libopenblas0 \
7
  libgomp1 \
8
  git \
 
19
 
20
  RUN pip install --no-cache-dir --upgrade pip
21
 
22
+ RUN pip install --no-cache-dir \
23
+ https://github.com/abetlen/llama-cpp-python/releases/download/v0.2.90/llama_cpp_python-0.2.90-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
24
 
25
  COPY --chown=user requirements.txt .
26
  RUN pip install --no-cache-dir -r requirements.txt