<commit_before>FROM openjdk:8-jre-alpine

RUN mkdir -p /opt/app/conf
COPY target/universal/stage/conf /opt/app/conf
RUN mkdir -p /opt/app/lib
COPY target/universal/stage/lib /opt/app/lib

RUN mkdir -p /opt/app/bin
COPY target/universal/stage/bin/dita /opt/app/bin/dita
RUN chmod 755 /opt/app/bin/dita
RUN mkdir -p /opt/app/config
COPY target/universal/stage/config /opt/app/config
RUN mkdir -p /opt/app/plugins
COPY target/universal/stage/plugins /opt/app/plugins
RUN mkdir -p /opt/app/xsl
COPY target/universal/stage/xsl /opt/app/xsl
COPY target/universal/stage/build.xml /opt/app/
COPY target/universal/stage/build_template.xml /opt/app/
COPY target/universal/stage/catalog-dita.xml /opt/app/
COPY target/universal/stage/catalog-dita_template.xml /opt/app/
COPY target/universal/stage/integrator.xml /opt/app/

COPY docker/run.sh /opt/app/run.sh
RUN chmod 755 /opt/app/run.sh
RUN mkdir -p /opt/workspace

EXPOSE 9000
VOLUME ["/opt/workspace"]

ENV ENVIRONMENT=production

WORKDIR /opt/app
ENTRYPOINT ["./run.sh"]<commit_msg>Update to Java 10<commit_after>FROM openjdk:10

RUN mkdir -p /opt/app/conf
COPY target/universal/stage/conf /opt/app/conf
RUN mkdir -p /opt/app/lib
COPY target/universal/stage/lib /opt/app/lib

RUN mkdir -p /opt/app/bin
COPY target/universal/stage/bin/dita /opt/app/bin/dita
RUN chmod 755 /opt/app/bin/dita
RUN mkdir -p /opt/app/config
COPY target/universal/stage/config /opt/app/config
RUN mkdir -p /opt/app/plugins
COPY target/universal/stage/plugins /opt/app/plugins
RUN mkdir -p /opt/app/xsl
COPY target/universal/stage/xsl /opt/app/xsl
COPY target/universal/stage/build.xml /opt/app/
COPY target/universal/stage/build_template.xml /opt/app/
COPY target/universal/stage/catalog-dita.xml /opt/app/
COPY target/universal/stage/catalog-dita_template.xml /opt/app/
COPY target/universal/stage/integrator.xml /opt/app/

COPY docker/run.sh /opt/app/run.sh
RUN chmod 755 /opt/app/run.sh

EXPOSE 9000
VOLUME ["/opt/workspace"]

ENV ENVIRONMENT=production

WORKDIR /opt/app
ENTRYPOINT ["./run.sh"]
{'fraction_non_alphanumeric': 0.13429137760158572, 'fraction_numerical': 0.012388503468780971, 'mean_word_length': 3.773049645390071, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 10}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '39856', 'n_tokens_mistral': 823, 'n_tokens_neox': 750, 'n_words': 166}