asv7j commited on
Commit
b88d74d
1 Parent(s): 3490609

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -1
Dockerfile CHANGED
@@ -4,8 +4,13 @@ RUN useradd -m -u 1000 user
4
  USER user
5
  ENV PATH="/home/user/.local/bin:$PATH"
6
  WORKDIR /app
 
 
 
 
 
7
 
8
- RUN pip install fastapi uvicorn[standard]==0.17.* transformers torch accelerate
9
  run CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
10
 
11
  RUN cat /proc/cpuinfo
 
4
  USER user
5
  ENV PATH="/home/user/.local/bin:$PATH"
6
  WORKDIR /app
7
+ RUN apt-get update && apt-get install -y \
8
+ build-essential \
9
+ libopenblas-dev \
10
+ libomp-dev \
11
+ && rm -rf /var/lib/apt/lists/* \
12
 
13
+ RUN pip --no-cache-dir install fastapi uvicorn[standard]==0.17.* transformers torch accelerate
14
  run CMAKE_ARGS="-DGGML_BLAS=ON -DGGML_BLAS_VENDOR=OpenBLAS" pip install llama-cpp-python
15
 
16
  RUN cat /proc/cpuinfo