Spaces:
Running
Running
justin2341
commited on
Commit
•
fb6b587
1
Parent(s):
847bf69
Update Dockerfile
Browse files- Dockerfile +22 -21
Dockerfile
CHANGED
@@ -1,21 +1,22 @@
|
|
1 |
-
FROM openvino/ubuntu20_runtime:2022.3.0
|
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-live
|
8 |
-
WORKDIR /root/kby-ai-live
|
9 |
-
COPY ./libfacesdk1.so .
|
10 |
-
COPY ./libimutils.so /usr/lib/libimutils.so
|
11 |
-
COPY ./facesdk.py .
|
12 |
-
COPY ./facebox.py .
|
13 |
-
COPY ./app.py .
|
14 |
-
COPY ./demo.py .
|
15 |
-
COPY ./run.sh .
|
16 |
-
COPY ./live_examples ./live_examples
|
17 |
-
COPY ./requirements.txt .
|
18 |
-
COPY ./data ./data
|
19 |
-
RUN
|
20 |
-
|
21 |
-
|
|
|
|
1 |
+
FROM openvino/ubuntu20_runtime:2022.3.0
|
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-live
|
8 |
+
WORKDIR /root/kby-ai-live
|
9 |
+
COPY ./libfacesdk1.so .
|
10 |
+
COPY ./libimutils.so /usr/lib/libimutils.so
|
11 |
+
COPY ./facesdk.py .
|
12 |
+
COPY ./facebox.py .
|
13 |
+
COPY ./app.py .
|
14 |
+
COPY ./demo.py .
|
15 |
+
COPY ./run.sh .
|
16 |
+
COPY ./live_examples ./live_examples
|
17 |
+
COPY ./requirements.txt .
|
18 |
+
COPY ./data ./data
|
19 |
+
RUN chmod a+x run.sh
|
20 |
+
RUN pip3 install -r requirements.txt
|
21 |
+
CMD ["./run.sh"]
|
22 |
+
EXPOSE 8088 9000
|