MVPilgrim commited on
Commit
6a9e0d6
·
1 Parent(s): 565f8a3
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -27,6 +27,9 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
27
  # Set Python 3.11 as the default python version
28
  RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
29
  RUN update-alternatives --set python3 /usr/bin/python3.11
 
 
 
30
 
31
  # Install requirements packages, semantic text splitter, llama_cpp.
32
  COPY ./requirements.txt /app/requirements.txt
 
27
  # Set Python 3.11 as the default python version
28
  RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.11 1
29
  RUN update-alternatives --set python3 /usr/bin/python3.11
30
+
31
+ # Upgrade pip to support --break-system-packages.
32
+ python -m pip install --upgrade pip
33
 
34
  # Install requirements packages, semantic text splitter, llama_cpp.
35
  COPY ./requirements.txt /app/requirements.txt