minzo456 commited on
Commit
6db3287
·
verified ·
1 Parent(s): b18aa50

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -2
Dockerfile CHANGED
@@ -8,11 +8,14 @@ RUN apt-get update && apt-get install -y \
8
 
9
  WORKDIR /code
10
 
11
- # Requirements install කිරීම
 
 
 
12
  COPY requirements.txt .
13
  RUN pip install --no-cache-dir -r requirements.txt
14
 
15
- # සියලුම ගොනු කොපි කිරීම
16
  COPY . .
17
 
18
  # Flask app එක run කිරීම (Hugging Face port 7860)
 
8
 
9
  WORKDIR /code
10
 
11
+ # Pre-built wheel එක හරහා llama-cpp install කිරීම (විනාඩි 10ක් ඉතිරි කරයි)
12
+ RUN pip install --no-cache-dir --extra-index-url https://abetlen.github.io/llama-cpp-python/whl/cpu llama-cpp-python
13
+
14
+ # අනෙකුත් අවශ්‍යතා install කිරීම
15
  COPY requirements.txt .
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
+ # සියලුම ගොනු copy කිරීම
19
  COPY . .
20
 
21
  # Flask app එක run කිරීම (Hugging Face port 7860)