yashsecdev commited on
Commit
b7eafbb
·
1 Parent(s): 884001b

commiting once agin

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -27,10 +27,10 @@ RUN mkdir -p /app/models && chmod 777 /app/models
27
  COPY requirements.txt .
28
 
29
  # Install dependencies
30
- # We use a PRE-BUILT wheel for llama-cpp-python to avoid compiling from source (Saves ~10 minutes)
31
  RUN pip install --no-cache-dir --upgrade pip && \
32
  pip install --no-cache-dir -r requirements.txt && \
33
- pip install llama-cpp-python --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu
34
 
35
  # Copy the rest of the application
36
  COPY . .
 
27
  COPY requirements.txt .
28
 
29
  # Install dependencies
30
+ # We forcefully install the specific Linux wheel for Python 3.11 to prevent compilation
31
  RUN pip install --no-cache-dir --upgrade pip && \
32
  pip install --no-cache-dir -r requirements.txt && \
33
+ pip install https://github.com/abetlen/llama-cpp-python/releases/download/v0.3.2/llama_cpp_python-0.3.2-cp311-cp311-linux_x86_64.whl
34
 
35
  # Copy the rest of the application
36
  COPY . .