<commit_before>FROM onsdigital/java-component

# Add the build artifacts
WORKDIR /usr/src
ADD git_commit_id /usr/src/
ADD ./target/dependency /usr/src/target/dependency
ADD ./target/classes /usr/src/target/classes
ADD ./target/web /usr/src/target/web
#ADD ./target/*-jar-with-dependencies.jar /usr/src/target/


# SSH port
EXPOSE 2222

# Set the entry point
ENTRYPOINT java -Xmx2048m \
   -Drestolino.files=target/web \
   -Drestolino.classes=target/classes \
   -Drestolino.packageprefix=com.github.davidcarboni.dylan.api \
   -cp "target/classes:target/dependency/*" \
   com.github.davidcarboni.restolino.Main<commit_msg>Removed non existent target folder.<commit_after>FROM onsdigital/java-component

# Add the build artifacts
WORKDIR /usr/src
ADD git_commit_id /usr/src/
ADD ./target/dependency /usr/src/target/dependency
ADD ./target/classes /usr/src/target/classes
#ADD ./target/*-jar-with-dependencies.jar /usr/src/target/


# SSH port
EXPOSE 2222

# Set the entry point
ENTRYPOINT java -Xmx2048m \
   -Drestolino.files=target/web \
   -Drestolino.classes=target/classes \
   -Drestolino.packageprefix=com.github.davidcarboni.dylan.api \
   -cp "target/classes:target/dependency/*" \
   com.github.davidcarboni.restolino.Main
{'fraction_non_alphanumeric': 0.12489862124898621, 'fraction_numerical': 0.012976480129764802, 'mean_word_length': 3.7829457364341086, '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': '4382543', 'n_tokens_mistral': 457, 'n_tokens_neox': 428, 'n_words': 80}