allekssandr commited on
Commit
95de29f
·
verified ·
1 Parent(s): 5690482

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -3
Dockerfile CHANGED
@@ -6,11 +6,12 @@ RUN apt-get update && apt-get install -y \
6
  build-essential \
7
  python3-dev \
8
  git \
 
9
  && rm -rf /var/lib/apt/lists/*
10
 
11
- # Устанавливаем зависимости Python
12
- RUN python install --no-cache-dir \
13
- CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" python install llama-cpp-python
14
 
15
  # Создаем рабочую директорию
16
  WORKDIR /app
 
6
  build-essential \
7
  python3-dev \
8
  git \
9
+ libopenblas-dev \ # Добавляем зависимость для OpenBLAS
10
  && rm -rf /var/lib/apt/lists/*
11
 
12
+ # Устанавливаем llama-cpp-python с поддержкой BLAS
13
+ RUN CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" \
14
+ pip install --no-cache-dir llama-cpp-python
15
 
16
  # Создаем рабочую директорию
17
  WORKDIR /app