blob: 0eed9954ef24495554dfd40330ec401439634aaa [file] [log] [blame]
Shad Ansari47432b62021-09-27 22:46:25 +00001#python3 docker_openvino.py build -d cpu -os ubuntu18 --distribution runtime --product_version 2021.4
Shad Ansari2948cc02022-04-14 21:33:37 +00002FROM openvino/ubuntu18_runtime:2021.4
Shad Ansari47432b62021-09-27 22:46:25 +00003
4USER root
5
6RUN apt-get update && apt-get install -y \
7 wget \
8 unzip \
9 libglib2.0-0 \
10 libsm6 \
11 libxrender1 \
12 libxext6 \
13 vim \
14 ffmpeg \
15 x11-apps
16
17RUN apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
18
19WORKDIR /var/person-detection-app
20
21COPY . .
22
Shad Ansariab4141c2021-12-03 03:33:18 +000023RUN pip3 install -r requirements.txt
Shad Ansari47432b62021-09-27 22:46:25 +000024
Shad Ansarid80531f2021-09-27 23:15:03 +000025ENTRYPOINT ["./bin/person_detection.sh"]
Shad Ansaria2714652021-10-23 00:10:18 +000026CMD ["-pt 0.75"]