2015-07-16 13:50:06 +02:00
|
|
|
#
|
2019-12-07 07:00:54 +02:00
|
|
|
# Dockerfile for tesseract CJK
|
2015-07-16 13:50:06 +02:00
|
|
|
#
|
|
|
|
|
2022-02-16 11:17:58 +02:00
|
|
|
FROM alpine:3
|
|
|
|
MAINTAINER EasyPi Software Foundation
|
2015-07-16 13:50:06 +02:00
|
|
|
|
2016-05-17 04:42:00 +02:00
|
|
|
RUN set -xe \
|
2019-12-07 07:00:54 +02:00
|
|
|
&& apk add --no-cache \
|
|
|
|
tesseract-ocr \
|
|
|
|
tesseract-ocr-data-chi_sim \
|
|
|
|
tesseract-ocr-data-chi_tra \
|
|
|
|
tesseract-ocr-data-jpn \
|
|
|
|
tesseract-ocr-data-kor \
|
|
|
|
&& tesseract --version \
|
|
|
|
&& tesseract --list-langs
|
2015-07-16 13:50:06 +02:00
|
|
|
|
|
|
|
ENTRYPOINT ["tesseract"]
|
2019-12-07 07:15:29 +02:00
|
|
|
CMD ["--help-extra"]
|