<commit_before>FROM zooniverse/ruby:jruby-1.7.16.1

VOLUME ./:/rails_app

WORKDIR /rails_app

ADD ./Gemfile /rails_app/
ADD ./Gemfile.lock /rails_app/
ADD ./Jarfile /rails_app/
ADD ./Jarfile.lock /rails_app/

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get -y upgrade && \
    apt-get install -y git && apt-get clean

RUN bundle install && jbundle install<commit_msg>reorder to avoid installing packages on gem changes<commit_after>FROM zooniverse/ruby:jruby-1.7.16.1

VOLUME ./:/rails_app

WORKDIR /rails_app

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update && apt-get -y upgrade && \
    apt-get install -y git && apt-get clean

ADD ./Gemfile /rails_app/
ADD ./Gemfile.lock /rails_app/
ADD ./Jarfile /rails_app/
ADD ./Jarfile.lock /rails_app/

RUN bundle install && jbundle install
{'fraction_non_alphanumeric': 0.11633663366336634, 'fraction_numerical': 0.012376237623762377, 'mean_word_length': 3.4944444444444445, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4190062', 'n_tokens_mistral': 318, 'n_tokens_neox': 296, 'n_words': 82}