Spaces:
Runtime error
Runtime error
File size: 617 Bytes
3996ddb 565ecdf 3996ddb c0da084 3996ddb |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM ubuntu:20.04
RUN ln -snf /usr/share/zoneinfo/$CONTAINER_TIMEZONE /etc/localtime && echo $CONTAINER_TIMEZONE > /etc/timezone
RUN apt-get update -y
RUN apt-get install -y python3 python3-pip python3-opencv
RUN apt-get install -y libcurl4-openssl-dev libssl-dev
RUN mkdir -p /home/FaceOnLive_v6
RUN mkdir -p /home/FaceOnLive_v6/facewrapper
WORKDIR /home/FaceOnLive_v6
COPY ./facewrapper ./facewrapper
COPY ./facewrapper/libs/libimutils.so /usr/lib
COPY ./openvino /usr/lib
COPY ./app.py ./app.py
COPY ./requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt
CMD [ "python3", "app.py"]
EXPOSE 8000
|