Spaces:
Runtime error
Runtime error
Update
Browse files- Dockerfile +5 -2
- run.sh +4 -0
Dockerfile
CHANGED
@@ -8,9 +8,12 @@ RUN mkdir -p /home/FaceOnLive_v6/facewrapper
|
|
8 |
WORKDIR /home/FaceOnLive_v6
|
9 |
COPY ./facewrapper ./facewrapper
|
10 |
COPY ./facewrapper/libs/libimutils.so /usr/lib
|
|
|
11 |
COPY ./openvino /usr/lib
|
12 |
COPY ./app.py ./app.py
|
|
|
13 |
COPY ./requirements.txt ./requirements.txt
|
14 |
RUN pip3 install -r requirements.txt
|
15 |
-
|
16 |
-
|
|
|
|
8 |
WORKDIR /home/FaceOnLive_v6
|
9 |
COPY ./facewrapper ./facewrapper
|
10 |
COPY ./facewrapper/libs/libimutils.so /usr/lib
|
11 |
+
COPY ./gradio ./gradio
|
12 |
COPY ./openvino /usr/lib
|
13 |
COPY ./app.py ./app.py
|
14 |
+
COPY ./run.sh .
|
15 |
COPY ./requirements.txt ./requirements.txt
|
16 |
RUN pip3 install -r requirements.txt
|
17 |
+
RUN chmod a+x run.sh
|
18 |
+
CMD ["./run.sh"]
|
19 |
+
EXPOSE 8000
|
run.sh
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#!/bin/bash
|
2 |
+
|
3 |
+
exec python3 app.py &
|
4 |
+
exec python3 gradio/demo.py
|