<commit_before><commit_msg>Create Dockerfile<commit_after>FROM ruby:2.3
MAINTAINER <EMAIL>

RUN curl -sL https://deb.nodesource.com/setup_6.x | bash -

RUN apt-get update -qq && apt-get install -y --no-install-recommends apt-utils build-essential curl libcurl4-openssl-dev libffi-dev libmysqlclient-dev libmysqld-dev libpq-dev libreadline-dev libsqlite3-dev libssl-dev libxml2-dev libxslt1-dev libyaml-dev mysql-client nodejs python-software-properties sqlite3 zlib1g-dev

RUN gem install rails -v 5.0.1
# ===== Choose the rails version
# RUN gem install rails -v 4.2.7.1
# RUN gem install rails -v 4.1.16
# RUN gem install rails -v 4.0.13
# RUN gem install rails -v 3.2.22.5

RUN npm install bower -g

RUN mkdir /app/web -p
RUN mkdir /app/shared/tmp -p

WORKDIR /app/
ADD . /app/web

RUN cd web
{'fraction_non_alphanumeric': 0.11069182389937107, 'fraction_numerical': 0.03647798742138365, 'mean_word_length': 3.601156069364162, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, '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': '3887498', 'n_tokens_mistral': 321, 'n_tokens_neox': 289, 'n_words': 91}