FaceRecognition / Dockerfile
justin2341's picture
Update Dockerfile
0e2c832 verified
raw
history blame
580 Bytes
FROM openvino/ubuntu20_runtime:2022.3.0
USER root
RUN apt-get update -y
RUN apt-get install -y libcurl4-openssl-dev libssl-dev libgomp1 libpugixml-dev
RUN mkdir -p /home/openvino/kby-ai-face
WORKDIR /home/openvino/kby-ai-face
COPY ./libfacesdk2.so .
COPY ./libimutils.so /usr/lib/libimutils.so
COPY ./facesdk.py .
COPY ./facebox.py .
COPY ./app.py .
COPY ./demo.py .
COPY ./run.sh .
COPY ./face_examples ./face_examples
COPY ./requirements.txt .
COPY ./data ./data
COPY ./license.txt .
RUN chmod a+x run.sh
RUN pip3 install -r requirements.txt
CMD ["./run.sh"]
EXPOSE 8080 9000