Luigi commited on
Commit
35aa7f2
·
1 Parent(s): fc5d28f

merge packages.txt content into dockerfile then make it also use reuirements.txt

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -2
Dockerfile CHANGED
@@ -18,6 +18,10 @@ RUN apt-get update \
18
  pkg-config \
19
  cmake \
20
  build-essential \
 
 
 
 
21
  libopenblas-dev \
22
  && ln -sf /usr/share/zoneinfo/$TZ /etc/localtime \
23
  && echo $TZ > /etc/timezone \
@@ -35,8 +39,8 @@ RUN git clone --depth 1 --recurse-submodules \
35
  && rm -rf /tmp/llama-cpp-python
36
 
37
  # 7. (Optional) Your other Python deps
38
- # COPY requirements.txt .
39
- # RUN pip install --no-cache-dir -r requirements.txt
40
 
41
  # 8. Copy app code
42
  COPY . .
 
18
  pkg-config \
19
  cmake \
20
  build-essential \
21
+ python3-opencv \
22
+ build-essential \
23
+ cmake \
24
+ libopenblas-dev \
25
  libopenblas-dev \
26
  && ln -sf /usr/share/zoneinfo/$TZ /etc/localtime \
27
  && echo $TZ > /etc/timezone \
 
39
  && rm -rf /tmp/llama-cpp-python
40
 
41
  # 7. (Optional) Your other Python deps
42
+ COPY requirements.txt .
43
+ RUN pip install --no-cache-dir -r requirements.txt
44
 
45
  # 8. Copy app code
46
  COPY . .