<commit_before>FROM softinstigate/maven-aws:2.0.1

LABEL maintainer="SoftInstigate <<EMAIL>>"

ARG RELEASE

# Install node.js and yarn
RUN rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_8.x > node_install.sh
RUN chmod +x ./node_install.sh
RUN ./node_install.sh
RUN curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y apt-utils nodejs yarn groff

# Install serverless cli
RUN yarn global add serverless@${RELEASE}

COPY bin/startup.sh .
RUN "./startup.sh"

ENTRYPOINT [ "serverless" ]
<commit_msg>Upgrading node version to 10<commit_after>FROM softinstigate/maven-aws:2.0.1

LABEL maintainer="SoftInstigate <<EMAIL>>"

ARG RELEASE

# Install node.js and yarn
RUN rm -rf /var/lib/apt/lists/*
RUN curl -sL https://deb.nodesource.com/setup_10.x > node_install.sh
RUN chmod +x ./node_install.sh
RUN ./node_install.sh
RUN curl -sS http://dl.yarnpkg.com/debian/pubkey.gpg | apt-key add -
RUN echo "deb http://dl.yarnpkg.com/debian/ stable main" | tee /etc/apt/sources.list.d/yarn.list
RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y apt-utils nodejs yarn groff

# Install serverless cli
RUN yarn global add serverless@${RELEASE}

COPY bin/startup.sh .
RUN "./startup.sh"

ENTRYPOINT [ "serverless" ]

{'fraction_non_alphanumeric': 0.12885154061624648, 'fraction_numerical': 0.007703081232492998, 'mean_word_length': 4.049469964664311, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 2, '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': '698771', 'n_tokens_mistral': 546, 'n_tokens_neox': 522, 'n_words': 136}