moriire commited on
Commit
efd2474
1 Parent(s): 6c7d5fb

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -9,6 +9,8 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco
9
  build-essential \
10
  pkg-config \
11
  gnupg2 \
 
 
12
  wget \
13
  clang \
14
  c++11 \
@@ -21,6 +23,8 @@ RUN chmod 777 .
21
  COPY ./requirements.txt /code/requirements.txt
22
  RUN pip install --upgrade pip
23
  RUN pip install --upgrade setuptools
 
 
24
  RUN pip install llama-cpp-python \
25
  --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
26
 
 
9
  build-essential \
10
  pkg-config \
11
  gnupg2 \
12
+ cmake \
13
+ liblzma-dev \
14
  wget \
15
  clang \
16
  c++11 \
 
23
  COPY ./requirements.txt /code/requirements.txt
24
  RUN pip install --upgrade pip
25
  RUN pip install --upgrade setuptools
26
+
27
+ RUN cd /tmp && git clone --recurse-submodules https://github.com/nomic-ai/gpt4all && cd gpt4all/gpt4all-backend/ && mkdir build && cd build && cmake .. && cmake --build . --parallel && cd ../../gpt4all-bindings/python && pip3 install -e .
28
  RUN pip install llama-cpp-python \
29
  --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
30