docs/Dockerfile

12 lines
642 B
Docker
Raw Normal View History

2017-01-03 11:43:31 +01:00
FROM sismics/jetty:9.2.20-jdk7
2015-03-11 00:35:42 +01:00
MAINTAINER benjamin.gam@gmail.com
2017-10-31 20:34:54 +01:00
RUN apt-get update && apt-get -y -q install tesseract-ocr tesseract-ocr-fra tesseract-ocr-ita tesseract-ocr-kor tesseract-ocr-rus tesseract-ocr-ukr tesseract-ocr-spa tesseract-ocr-ara tesseract-ocr-hin tesseract-ocr-deu tesseract-ocr-pol tesseract-ocr-jpn tesseract-ocr-por tesseract-ocr-tha tesseract-ocr-jpn tesseract-ocr-chi-sim tesseract-ocr-chi-tra && \
2017-03-21 08:56:00 +01:00
apt-get clean && rm -rf /var/lib/apt/lists/*
2015-03-11 00:35:42 +01:00
ENV TESSDATA_PREFIX /usr/share/tesseract-ocr
ENV LC_NUMERIC C
ADD docs-web/target/docs-web-*.war /opt/jetty/webapps/docs.war
ADD docs.xml /opt/jetty/webapps/docs.xml