<commit_before>FROM ruby:2.3

RUN apt-get update && apt-get install -y apt-transport-https && \
  curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
  echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list && \
  echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list && \
  apt-get update && \
  apt-get install -y nodejs postgresql-client

RUN npm install -g phantomjs-prebuilt

EXPOSE 3000

RUN mkdir /app
WORKDIR /app

ENV BUNDLE_PATH /app_cache/bundle

COPY . /app

CMD bundle check || bundle && bundle exec puma -C config/puma.rb<commit_msg>Add docker-machine to docker image<commit_after>FROM ruby:2.3

RUN apt-get update && apt-get install -y apt-transport-https && \
  curl -s https://deb.nodesource.com/gpgkey/nodesource.gpg.key | apt-key add - && \
  echo 'deb https://deb.nodesource.com/node_4.x jessie main' > /etc/apt/sources.list.d/nodesource.list && \
  echo 'deb-src https://deb.nodesource.com/node_4.x jessie main' >> /etc/apt/sources.list.d/nodesource.list && \
  apt-get update && \
  apt-get install -y nodejs postgresql-client

RUN npm install -g phantomjs-prebuilt

RUN curl -L https://github.com/docker/machine/releases/download/v0.6.0/docker-machine-Linux-x86_64 > /usr/local/bin/docker-machine && \
  chmod +x /usr/local/bin/docker-machine

EXPOSE 3000

RUN mkdir /app
WORKDIR /app

ENV BUNDLE_PATH /app_cache/bundle

COPY . /app

CMD bundle check || bundle && bundle exec puma -C config/puma.rb
{'fraction_non_alphanumeric': 0.1433182698515171, 'fraction_numerical': 0.014848289218850872, 'mean_word_length': 3.3055555555555554, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, 'https://': 7, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5024955', 'n_tokens_mistral': 604, 'n_tokens_neox': 566, 'n_words': 129}