<commit_before>FROM mhart/alpine-node

WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/

RUN npm install -g csslint && \
    apk --update add ruby ruby-dev ruby-bundler less ruby-nokogiri build-base && \
    bundle install -j 4 && \
    apk del build-base && rm -fr /usr/share/ri

COPY . /usr/src/app<commit_msg>Add app user<commit_after>FROM mhart/alpine-node

WORKDIR /usr/src/app
COPY Gemfile /usr/src/app/
COPY Gemfile.lock /usr/src/app/

RUN npm install -g csslint && \
    apk --update add ruby ruby-dev ruby-bundler less ruby-nokogiri build-base && \
    bundle install -j 4 && \
    apk del build-base && rm -fr /usr/share/ri

RUN adduser -u 9000 -D app
USER app

COPY . /usr/src/app
{'fraction_non_alphanumeric': 0.12742382271468145, 'fraction_numerical': 0.008310249307479225, 'mean_word_length': 2.6515151515151514, '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': '39622', 'n_tokens_mistral': 295, 'n_tokens_neox': 265, 'n_words': 81}