Spaces:
Sleeping
Sleeping
Download Dockerfile from opulentyn/IDDocRecog: direct link, hf CLI and curl.
- Browser
- Download file 422 Bytes
-
https://huggingface.co/spaces/opulentyn/IDDocRecog/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/opulentyn/IDDocRecog/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/opulentyn/IDDocRecog/resolve/main/Dockerfile
422 Bytes
| 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 |