Skip to content

Commit 2254a80

Browse files
authored
Update Dockerfile
1 parent 963f4b8 commit 2254a80

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

Dockerfile

+15-6
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
11
FROM openvino/ubuntu20_runtime:2022.3.0
2-
3-
RUN mkdir -p /home/openvino/kby-ai-face
4-
WORKDIR /home/openvino/kby-ai-face
5-
COPY ./libfacesdk2.so .
2+
USER root
3+
4+
RUN apt-get update -y
5+
RUN apt-get install -y libcurl4-openssl-dev libssl-dev libgomp1 libpugixml-dev
6+
7+
RUN mkdir -p /root/kby-ai-face
8+
WORKDIR /root/kby-ai-face
9+
COPY ./libkbyai_facesdk2.so .
10+
COPY ./libimutils.so /usr/lib/libimutils.so
611
COPY ./facesdk.py .
712
COPY ./facebox.py .
813
COPY ./app.py .
14+
COPY ./demo.py .
15+
COPY ./run.sh .
16+
COPY ./face_examples ./face_examples
917
COPY ./requirements.txt .
1018
COPY ./data ./data
19+
RUN chmod a+x run.sh
1120
RUN pip3 install -r requirements.txt
12-
CMD [ "python3", "app.py"]
13-
EXPOSE 8080
21+
CMD ["./run.sh"]
22+
EXPOSE 8080 9000

0 commit comments

Comments
 (0)