Spaces:
Sleeping
Sleeping
File size: 666 Bytes
c2b0164 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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 ./gradio ./gradio
COPY ./openvino /usr/lib
COPY ./app.py ./app.py
COPY ./run.sh .
COPY ./requirements.txt ./requirements.txt
RUN pip3 install -r requirements.txt
RUN chmod a+x run.sh
CMD ["./run.sh"]
EXPOSE 8000 |