<commit_before>FROM ruby:2.1.5
MAINTAINER <EMAIL>

RUN apt-get update -q
RUN apt-get install -y nodejs npm git git-core
RUN ln -s /usr/bin/nodejs /usr/bin/node

RUN git clone https://github.com/hhba/mapa76.git /app
RUN npm config set registry http://registry.npmjs.org
RUN npm install -g grunt-cli

WORKDIR /app/aeolus

RUN npm install
RUN grunt prod
RUN cp /app/aeolus/dist/js/*.js /app/aphrodite/app/assets/javascripts/aeolus/

WORKDIR /app/aphrodite
RUN bundle install --deployment --quiet --without development test

ENV RAILS_ENV production
RUN rake assets:precompile:all

EXPOSE 8080
CMD unicorn<commit_msg>[aphrodite] New Dockerfile<commit_after>FROM ruby:2.1.5
MAINTAINER <EMAIL>

RUN apt-get update -q
RUN apt-get install -y nodejs npm git git-core
RUN ln -s /usr/bin/nodejs /usr/bin/node

RUN git clone https://github.com/hhba/mapa76.git /app
RUN npm config set registry http://registry.npmjs.org
RUN npm install -g grunt-cli

WORKDIR /app/aeolus

RUN npm install
RUN grunt prod
RUN rm -f /app/aphrodite/app/assets/javascripts/aeolus/*.js
RUN cp /app/aeolus/dist/js/*.js /app/aphrodite/app/assets/javascripts/aeolus/

WORKDIR /app/aphrodite
RUN bundle install --deployment --quiet --without development test

ENV RAILS_ENV production
RUN rake assets:precompile:all

EXPOSE 8080
CMD unicorn
{'fraction_non_alphanumeric': 0.1031562740569669, 'fraction_numerical': 0.013856812933025405, 'mean_word_length': 3.887218045112782, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '7278766', 'n_tokens_mistral': 496, 'n_tokens_neox': 463, 'n_words': 143}