bugfix:
1. docker 加tesseract
This commit is contained in:
@@ -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}
|
||||
Reference in New Issue
Block a user