Skip to content

Commit

Permalink
Install opencv from pip
Browse files Browse the repository at this point in the history
  • Loading branch information
sdunesme committed Sep 15, 2022
1 parent 81568b9 commit 0279a8b
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ WORKDIR /app

COPY . .

RUN apt-get -y update && apt-get -y install python3-opencv && apt-get clean
ENV PYTHONPATH "${PYTHONPATH}:/usr/lib/python3/dist-packages"

RUN pip install -e .
RUN pip install gunicorn

Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
'pysnmp==4.4.12',
'python-dotenv==0.20.0',
'pyyaml==6.0',
'opencv-python-headless==4.6.0.66',
'requests==2.28.1',
'simplejson==3.17.6',
'suntime==1.2.5',
Expand Down

0 comments on commit 0279a8b

Please sign in to comment.