Skip to content

Commit 3414f6b

Browse files
author
David Straub
committed
Fix for OpenCV in docker
1 parent 03afa44 commit 3414f6b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Dockerfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ RUN apt-get update && apt-get install -y \
1111
poppler-utils ffmpeg libavcodec-extra \
1212
unzip \
1313
libpq-dev postgresql-client postgresql-client-common python3-psycopg2 \
14+
libgl1-mesa-dev libgtk2.0-dev \
1415
&& rm -rf /var/lib/apt/lists/*
1516

1617
# set locale
@@ -40,7 +41,7 @@ RUN wget https://github.com/gramps-project/addons/archive/refs/heads/master.zip
4041

4142
# install OpenCV
4243
RUN python3 -m pip install --no-cache-dir --extra-index-url https://www.piwheels.org/simple \
43-
opencv-python numpy
44+
opencv-python
4445

4546
# install gunicorn
4647
RUN python3 -m pip install --no-cache-dir --extra-index-url https://www.piwheels.org/simple \

0 commit comments

Comments
 (0)