Spaces:
Sleeping
Sleeping
| 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 |