Initial commit of person-detection-app
Change-Id: Ic4141fd19d3d8c89929b798191310fa2c49e3070
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 0000000..6fcc485
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,27 @@
+#python3 docker_openvino.py build -d cpu -os ubuntu18 --distribution runtime --product_version 2021.4
+FROM ubuntu18_runtime:2021.4
+
+USER root
+
+RUN apt-get update && apt-get install -y \
+ wget \
+ unzip \
+ libglib2.0-0 \
+ libsm6 \
+ libxrender1 \
+ libxext6 \
+ vim \
+ ffmpeg \
+ x11-apps
+
+RUN 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
+
+WORKDIR /var/person-detection-app
+
+COPY . .
+
+RUN . .venv/bin/activate && \
+ pip3 install -r requirements.txt
+
+ENTRYPOINT ["./person_detection.sh"]
+CMD ["-i gstreamer", "-ns"]