Niv Sardi commited on
Commit
eab1d0a
1 Parent(s): b6ba314

update docker file to actually build our own opencv

Browse files

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>

Files changed (1) hide show
  1. Dockerfile.python +2 -1
Dockerfile.python CHANGED
@@ -1,8 +1,9 @@
1
- FROM docker.io/jjanzic/docker-python3-opencv
2
  MAINTAINER Niv Sardi <x@filtra.me>
3
  WORKDIR /app
4
 
5
  COPY python ./src
6
  RUN pip install -r ./src/requirements.txt
 
7
 
8
  CMD python3 ./src/watcher.py
 
1
+ FROM docker.io/python:3-slim-buster
2
  MAINTAINER Niv Sardi <x@filtra.me>
3
  WORKDIR /app
4
 
5
  COPY python ./src
6
  RUN pip install -r ./src/requirements.txt
7
+ RUN apt update && apt install -y libglib2.0-0 libgl1 && rm -rf /var/cache/apt
8
 
9
  CMD python3 ./src/watcher.py