Skip to content

Commit 305bec7

Browse files
committed
fix issue with opencv not being loaded
Signed-off-by: Paweł Cichowski <pcichowski@pcichowski.com>
1 parent be64c6b commit 305bec7

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,10 @@
11
# syntax=docker/dockerfile:1
2-
32
FROM python:3.12-slim
43

54
WORKDIR /app
65

76
COPY requirements.txt requirements.txt
8-
RUN pip3 install -r requirements.txt
7+
RUN pip install --no-cache-dir -r requirements.txt
98

109
COPY . .
11-
12-
CMD [ "python3", "main.py" ]
10+
CMD ["python", "main.py"]

requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ numpy~=2.2.2
55
scipy~=1.15.1
66

77
pillow~=11.1.0
8-
opencv-python-headless==4.5.5.64
8+
opencv-python-headless~=4.10.0.84
9+
910
bs4~=0.0.2
1011
requests~=2.32.3
1112
setuptools
12-
opencv-python
1313

1414
beautifulsoup4~=4.13.3

0 commit comments

Comments
 (0)