Spaces:
Sleeping
Sleeping
File size: 422 Bytes
a9e25c7 21faf3f a9e25c7 d3484b2 a9e25c7 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
FROM python:3.8-slim
RUN apt-get update -y
RUN apt-get install -y libpcsclite-dev psmisc
WORKDIR /home/opyidrecog
COPY ./opyidrecog.py .
COPY ./app.py .
COPY ./demo.py .
COPY ./requirements.txt .
COPY ./run.sh .
COPY ./examples ./examples
COPY ./model ./model
COPY ./lib /usr/lib
COPY ./lib/libopyidrecog.so ./lib/libopyidrecog.so
RUN pip3 install -r requirements.txt
RUN chmod a+x run.sh
CMD ["./run.sh"]
EXPOSE 9000 7860 |