justin2341 commited on
Commit
0e2c832
1 Parent(s): c88be80

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -2
Dockerfile CHANGED
@@ -4,8 +4,8 @@ USER root
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 ./libfacesdk2.so .
10
  COPY ./libimutils.so /usr/lib/libimutils.so
11
  COPY ./facesdk.py .
@@ -16,6 +16,8 @@ COPY ./run.sh .
16
  COPY ./face_examples ./face_examples
17
  COPY ./requirements.txt .
18
  COPY ./data ./data
 
 
19
  RUN pip3 install -r requirements.txt
20
  CMD ["./run.sh"]
21
  EXPOSE 8080 9000
 
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 /home/openvino/kby-ai-face
8
+ WORKDIR /home/openvino/kby-ai-face
9
  COPY ./libfacesdk2.so .
10
  COPY ./libimutils.so /usr/lib/libimutils.so
11
  COPY ./facesdk.py .
 
16
  COPY ./face_examples ./face_examples
17
  COPY ./requirements.txt .
18
  COPY ./data ./data
19
+ COPY ./license.txt .
20
+ RUN chmod a+x run.sh
21
  RUN pip3 install -r requirements.txt
22
  CMD ["./run.sh"]
23
  EXPOSE 8080 9000