Test1 / Dockerfile
Turing311's picture
Update Dockerfile
47687ed
raw
history blame
414 Bytes
FROM python:3.8-slim
RUN apt-get update -y
RUN apt-get install -y libpcsclite-dev psmisc
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
// CMD [ "python3", "gradio/demo.py"]
RUN chmod +x run.sh
CMD ["run.sh"]
EXPOSE 8080