st192011 commited on
Commit
0b1da4b
·
verified ·
1 Parent(s): 84395c0

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -8,7 +8,7 @@ ENV HOME=/home/user \
8
 
9
  FROM python:3.10-slim
10
 
11
- 1. System dependencies
12
 
13
  RUN apt-get update && apt-get install -y
14
  git
@@ -16,7 +16,7 @@ build-essential
16
  cmake
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
- 2. Install llama-cpp-python with CPU-only flags
20
 
21
  ENV CMAKE_ARGS="-DLLAMA_NATIVE=OFF"
22
  ENV FORCE_CMAKE=1
@@ -24,7 +24,7 @@ ENV FORCE_CMAKE=1
24
  RUN pip install --no-cache-dir
25
  llama-cpp-python==0.2.90
26
 
27
- 3. App setup
28
 
29
  WORKDIR /app
30
 
 
8
 
9
  FROM python:3.10-slim
10
 
11
+ # 1. System dependencies
12
 
13
  RUN apt-get update && apt-get install -y
14
  git
 
16
  cmake
17
  && rm -rf /var/lib/apt/lists/*
18
 
19
+ # 2. Install llama-cpp-python with CPU-only flags
20
 
21
  ENV CMAKE_ARGS="-DLLAMA_NATIVE=OFF"
22
  ENV FORCE_CMAKE=1
 
24
  RUN pip install --no-cache-dir
25
  llama-cpp-python==0.2.90
26
 
27
+ # 3. App setup
28
 
29
  WORKDIR /app
30