<commit_before>FROM ministryofjustice/ruby:2-webapp-onbuild

ENV APP_HOME /rails

ADD ./ /rails
ADD ./docker/rails/run.sh /rails/run.sh
RUN chmod 777 /rails/run.sh
WORKDIR /rails

EXPOSE 80

#SECRET_TOKEN set here because otherwise devise blows up during the precompile.
RUN bundle exec rake assets:precompile RAILS_ENV=production SECRET_KEY_BASE=blah

CMD /rails/run.sh<commit_msg>Make the nature of this ENV variable clear<commit_after>FROM ministryofjustice/ruby:2-webapp-onbuild

ENV APP_HOME /rails

ADD ./ /rails
ADD ./docker/rails/run.sh /rails/run.sh
RUN chmod 777 /rails/run.sh
WORKDIR /rails

EXPOSE 80

#SECRET_TOKEN set here because otherwise devise blows up during the precompile.
RUN bundle exec rake assets:precompile RAILS_ENV=production SECRET_KEY_BASE=a-real-secret-key-is-not-needed-here

CMD /rails/run.sh
{'fraction_non_alphanumeric': 0.08363636363636363, 'fraction_numerical': 0.014545454545454545, 'mean_word_length': 4.619047619047619, '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': '319837', 'n_tokens_mistral': 317, 'n_tokens_neox': 283, 'n_words': 82}