docs/Dockerfile
Jean-Marc Tremeaux 8231db4a5a Fix dockerfile
2017-03-21 08:56:00 +01:00

12 lines
382 B
Docker

FROM sismics/jetty:9.2.20-jdk7
MAINTAINER benjamin.gam@gmail.com
RUN apt-get update && apt-get -y -q install tesseract-ocr tesseract-ocr-fra tesseract-ocr-jpn && \
apt-get clean && rm -rf /var/lib/apt/lists/*
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