File size: 545 Bytes
000126a
8938b3d
2cbace0
 
8938b3d
358920b
 
5f5e48e
f20beb1
2cbace0
 
 
3a58704
47687ed
2cbace0
3cacfbc
db0b478
2cbace0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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 ./requirements.txt .
COPY ./data ./data
COPY ./gradio ./gradio
COPY ./run.sh .
RUN pip3 install -r requirements.txt
RUN chmod a+x run.sh
CMD ["./run.sh"]
EXPOSE 8080