<commit_before>#!/usr/bin/env sh

CLASSPATH=conf/
for i in lib/*.jar; do
    CLASSPATH=$CLASSPATH:$i
done
export DITA_HOME=$PWD
source /opt/app/config/env.sh

if [ -f /opt/app/RUNNING_PID ]; then
    rm /opt/app/RUNNING_PID
fi
java -Duser.dir=/opt/app -cp $CLASSPATH play.core.server.ProdServerStart
<commit_msg>Add production configuration to Docker image and allow passing Java opts<commit_after>#!/usr/bin/env sh

CLASSPATH=conf/
for i in lib/*.jar; do
    CLASSPATH=$CLASSPATH:$i
done
export DITA_HOME=$PWD
source /opt/app/config/env.sh

if [ -f /opt/app/RUNNING_PID ]; then
    rm /opt/app/RUNNING_PID
fi
java $JAVA_OPTS -Duser.dir=/opt/app -Dconfig.file=conf/production.conf -cp $CLASSPATH play.core.server.ProdServerStart

{'fraction_non_alphanumeric': 0.13168724279835392, 'fraction_numerical': 0.0, 'mean_word_length': 4.0344827586206895, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '291851', 'n_tokens_mistral': 290, 'n_tokens_neox': 293, 'n_words': 64}