<commit_before>FROM maven:3-jdk-8

MAINTAINER phithon <<EMAIL>>

COPY ./ /usr/src/

WORKDIR /usr/src

RUN cd /usr/src; \
    mvn clean install

CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "./target/spring-rest-data-demo-2.0.0.BUILD.jar"]<commit_msg>reduce spring rest framework 2.6.6's environment<commit_after>FROM maven:3-jdk-8 AS builder

MAINTAINER phithon <<EMAIL>>

COPY ./ /usr/src/

WORKDIR /usr/src

RUN cd /usr/src; \
    mvn clean install

# production
FROM openjdk:8-jre

LABEL maintainer="phithon <<EMAIL>>"

COPY --from=/usr/src/target/spring-rest-data-demo-2.0.0.BUILD.jar /spring-rest-data-demo-2.0.0.BUILD.jar

CMD ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "/spring-rest-data-demo-2.0.0.BUILD.jar"]
{'fraction_non_alphanumeric': 0.19256308100929614, 'fraction_numerical': 0.02656042496679947, 'mean_word_length': 3.5149700598802394, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '5098468', 'n_tokens_mistral': 318, 'n_tokens_neox': 306, 'n_words': 55}