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
|
|
|
#
|
|
|
|
|
2019-12-07 13:00:54 +08:00
|
|
|
FROM alpine
|
2017-05-08 07:05:07 +08:00
|
|
|
MAINTAINER kev <noreply@easypi.pro>
|
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"]
|