ramedde commited on
Commit
1482492
·
verified ·
1 Parent(s): eef9dad

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -4
Dockerfile CHANGED
@@ -9,12 +9,10 @@ WORKDIR /app
9
 
10
  # ---- download precompiled llama.cpp ----
11
  RUN wget -O llama.tar.gz https://github.com/ggml-org/llama.cpp/releases/download/b9310/llama-b9310-bin-ubuntu-x64.tar.gz && \
12
- tar -xzf llama.tar.gz && \
 
13
  rm llama.tar.gz
14
 
15
- # rename folder for simplicity (important)
16
- RUN mv llama-* llama
17
-
18
  COPY requirements.txt .
19
  RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
20
 
 
9
 
10
  # ---- download precompiled llama.cpp ----
11
  RUN wget -O llama.tar.gz https://github.com/ggml-org/llama.cpp/releases/download/b9310/llama-b9310-bin-ubuntu-x64.tar.gz && \
12
+ mkdir llama && \
13
+ tar -xzf llama.tar.gz -C llama --strip-components=1 && \
14
  rm llama.tar.gz
15
 
 
 
 
16
  COPY requirements.txt .
17
  RUN pip3 install --no-cache-dir --break-system-packages -r requirements.txt
18