From 43413cd21f26afb794cd1aa1467b3ae092ad6cf4 Mon Sep 17 00:00:00 2001 From: kxnarak <119852601+kxnarak@users.noreply.github.com> Date: Mon, 8 Jul 2024 18:20:46 +0530 Subject: [PATCH] add dependencies required by the RapidOCR python package --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index d091e730..5761a8a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -12,6 +12,9 @@ RUN curl -sS https://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add - RUN echo "deb https://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list RUN apt update && apt -y install yarn +# Install RapidOCR dependencies +RUN apt -y install libgl1 libgl1-mesa-glx libglib2.0-0 + # Install Application WORKDIR /app COPY pyproject.toml .