1. docker 加tesseract
This commit is contained in:
dengchun
2025-07-28 22:10:15 +08:00
parent 70d7ed9189
commit a31c2d6ecf

View File

@@ -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}