Download Dockerfile from opulentyn/FaceRecog: direct link, hf CLI and curl.
- Browser
- Download file 437 Bytes
-
https://huggingface.co/spaces/opulentyn/FaceRecog/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/opulentyn/FaceRecog/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/opulentyn/FaceRecog/resolve/main/Dockerfile
437 Bytes
| FROM python:3.8-slim | |
| RUN apt-get update -y | |
| RUN apt-get install -y libusb-0.1-4 | |
| WORKDIR /home/opyfacerecog | |
| COPY ./opyfacerecog.py . | |
| COPY ./app.py . | |
| COPY ./demo.py . | |
| COPY ./face.py . | |
| COPY ./requirements.txt . | |
| COPY ./run.sh . | |
| COPY ./examples ./examples | |
| COPY ./model ./model | |
| COPY ./lib /usr/lib | |
| COPY ./lib/libopyfacerecog.so ./lib/libopyfacerecog.so | |
| RUN pip3 install -r requirements.txt | |
| RUN chmod a+x run.sh | |
| CMD ["./run.sh"] | |
| EXPOSE 9000 7860 |