<commit_before>FROM ruby:2.2.2

RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential
RUN apt-get install -y nodejs

ENV APP_HOME /wrestlingApp
ENV PORT 3000

RUN mkdir $APP_HOME

WORKDIR $APP_HOME

ADD Gemfile* $APP_HOME/
RUN bundle install

ADD . $APP_HOME

RUN rake db:migrate RAILS_ENV=test
RUN rake db:migrate RAILS_ENV=development
RUN rake db:seed
RUN rake test

#CMD rails s puma --binding 0.0.0.0
CMD bundle exec passenger start -p $PORT --max-pool-size 3

EXPOSE 3000
<commit_msg>Added sqlite3 for development comfort in the Dockerfile<commit_after>FROM ruby:2.2.2

RUN apt-get update && apt-get upgrade -y && apt-get install -y build-essential
RUN apt-get install -y nodejs sqlite3

ENV APP_HOME /wrestlingApp
ENV PORT 3000

RUN mkdir $APP_HOME

WORKDIR $APP_HOME

ADD Gemfile* $APP_HOME/
RUN bundle install

ADD . $APP_HOME

RUN rake db:migrate RAILS_ENV=test
RUN rake db:migrate RAILS_ENV=development
RUN rake db:seed
RUN rake test

#CMD rails s puma --binding 0.0.0.0
CMD bundle exec passenger start -p $PORT --max-pool-size 3

EXPOSE 3000

{'fraction_non_alphanumeric': 0.07977736549165121, 'fraction_numerical': 0.03153988868274583, 'mean_word_length': 4.065727699530516, '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': '39833', 'n_tokens_mistral': 421, 'n_tokens_neox': 391, 'n_words': 142}