Skip to content

Commit 39ef23c

Browse files
committed
update cv2 install
1 parent b38671e commit 39ef23c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Dockerfile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ FROM python:3.11-slim
22

33
WORKDIR /codive-ai
44

5+
RUN apt-get update && apt-get install -y --no-install-recommends \
6+
libgl1 \
7+
libglib2.0-0 \
8+
&& rm -rf /var/lib/apt/lists/*
9+
510
RUN pip install --no-cache-dir torch torchvision torchaudio --index-url https://download.pytorch.org/whl/cpu
611

712
COPY requirements.txt .

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ rembg[cpu]
77
open-clip-torch
88
pillow
99
numpy
10+
opencv-python-headless
1011
httpx
1112
boto3
1213
ultralytics

0 commit comments

Comments
 (0)