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

ENV UNICORN_PORT 3000

# runit needs inittab
RUN touch /etc/inittab

RUN apt-get update && apt-get install -y

EXPOSE $UNICORN_PORT

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

# CMD ./run.sh
ENTRYPOINT ["./run.sh"]<commit_msg>change to run.sh in dockerfile<commit_after>FROM ministryofjustice/ruby:2.3.0-webapp-onbuild

ENV UNICORN_PORT 3000

# runit needs inittab
RUN touch /etc/inittab

RUN apt-get update && apt-get install -y

EXPOSE $UNICORN_PORT

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

CMD ./run.sh
ENTRYPOINT ["./run.sh"]
{'fraction_non_alphanumeric': 0.07452165156092648, 'fraction_numerical': 0.014098690835850957, 'mean_word_length': 5.582781456953643, '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': '3156075', 'n_tokens_mistral': 361, 'n_tokens_neox': 346, 'n_words': 99}