docs/Dockerfile

49 lines
1.2 KiB
Docker
Raw Permalink Normal View History

FROM sismics/ubuntu-jetty:11.0.14
LABEL maintainer="b.gamard@sismics.com"
2015-03-11 00:35:42 +01:00
RUN apt-get update && \
apt-get -y -q --no-install-recommends install \
ffmpeg \
mediainfo \
tesseract-ocr \
tesseract-ocr-ara \
tesseract-ocr-ces \
tesseract-ocr-chi-sim \
tesseract-ocr-chi-tra \
tesseract-ocr-dan \
tesseract-ocr-deu \
tesseract-ocr-fin \
tesseract-ocr-fra \
tesseract-ocr-heb \
tesseract-ocr-hin \
tesseract-ocr-hun \
tesseract-ocr-ita \
tesseract-ocr-jpn \
tesseract-ocr-kor \
tesseract-ocr-lav \
tesseract-ocr-nld \
tesseract-ocr-nor \
tesseract-ocr-pol \
tesseract-ocr-por \
tesseract-ocr-rus \
tesseract-ocr-spa \
tesseract-ocr-swe \
tesseract-ocr-tha \
tesseract-ocr-tur \
tesseract-ocr-ukr \
tesseract-ocr-vie \
tesseract-ocr-sqi && \
2023-04-12 13:35:54 +02:00
apt-get clean && rm -rf /var/lib/apt/lists/* && \
mkdir /app && \
cd /app && \
java -jar /opt/jetty/start.jar --add-modules=server,http,webapp,deploy
2015-03-11 00:35:42 +01:00
2023-04-12 13:35:54 +02:00
ADD docs.xml /app/webapps/docs.xml
ADD docs-web/target/docs-web-*.war /app/webapps/docs.war
2020-05-19 15:33:23 +02:00
ENV JAVA_OPTIONS -Xmx1g
2023-04-12 13:35:54 +02:00
WORKDIR /app
CMD ["java", "-jar", "/opt/jetty/start.jar"]