From a31c2d6ecfa3ece8649f3df5787d2b671050e925 Mon Sep 17 00:00:00 2001 From: dengchun Date: Mon, 28 Jul 2025 22:10:15 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=201.=20docker=20=E5=8A=A0tesseract?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Dockerfile b/Dockerfile index dea48e5..588b8c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -30,4 +30,7 @@ COPY --from=build /app/physical-launcher/target/physical-launcher-3.7.0.jar phys COPY --from=build /app/templates ./templates ENV PROFILE=dev +RUN apt update && apt install -y tesseract-ocr libtesseract-dev +ENV LD_LIBRARY_PATH=/usr/lib/x86_64-linux-gnu + CMD sleep 10;java -Djava.security.egd=file:/dev/./urandom -jar physical-launcher-3.7.0.jar --spring.profiles.active=${PROFILE} \ No newline at end of file