Download Dockerfile from Alan311/Test1: direct link, hf CLI and curl.
- Browser
- Download file 575 Bytes
-
https://huggingface.co/spaces/Alan311/Test1/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/Alan311/Test1/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/Alan311/Test1/resolve/main/Dockerfile
575 Bytes
| 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 libpcsclite-dev psmisc | |
| RUN apt-get install -y python3 python3-pip python3-opencv | |
| RUN mkdir -p /home/kby-ai-idcard | |
| WORKDIR /home/kby-ai-idcard | |
| COPY ./libidsdk.so . | |
| COPY ./idsdk.py . | |
| COPY ./app.py . | |
| COPY ./license.txt . | |
| COPY ./requirements.txt . | |
| COPY ./data ./data | |
| COPY ./gradio ./gradio | |
| COPY ./run.sh . | |
| RUN pip3 install -r requirements.txt | |
| RUN chmod a+x run.sh | |
| CMD ["python3", "app.py"] | |
| EXPOSE 8080 |