File size: 526 Bytes
5d2426e
 
 
d12db79
 
5d2426e
 
 
 
 
 
 
 
 
21a725a
 
5d2426e
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
FROM python:3.8-slim
RUN apt-get update -y
RUN apt-get install -y libpcsclite-dev psmisc libcurl4-openssl-dev libssl-dev
RUN mkdir -p /home/kby-ai-idcard
WORKDIR /home/kby-ai-idcard
COPY ./libidsdk.so .
COPY ./libimutils.so_for_ubuntu22 /usr/lib/libimutils.so
COPY ./idsdk.py .
COPY ./app.py .
COPY ./demo.py .
COPY ./requirements.txt .
COPY ./run.sh .
COPY ./idcard_examples ./idcard_examples
COPY ./data ./data
COPY ./license.txt .
RUN chmod a+x run.sh
RUN pip3 install -r requirements.txt
CMD ["./run.sh"]
EXPOSE 8080 9000