2015-07-16 19:50:06 +08:00
|
|
|
#
|
2019-12-07 13:00:54 +08:00
|
|
|
# Dockerfile for tesseract CJK
|
2015-07-16 19:50:06 +08:00
|
|
|
#
|
|
|
|
|
2022-02-16 17:17:58 +08:00
|
|
|
FROM alpine:3
|
|
|
|
MAINTAINER EasyPi Software Foundation
|
2015-07-16 19:50:06 +08:00
|
|
|
|
2016-05-17 10:42:00 +08:00
|
|
|
RUN set -xe \
|
2019-12-07 13:00:54 +08: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 19:50:06 +08:00
|
|
|
|
|
|
|
ENTRYPOINT ["tesseract"]
|
2019-12-07 13:15:29 +08:00
|
|
|
CMD ["--help-extra"]
|