<commit_before>FROM ruby:2.6.5
ENV LANG C.UTF-8
LABEL maintainer '<NAME> <<EMAIL>>'

# https://github.com/nodesource/distributions#installation-instructions
RUN apt-get update -qq && \
    curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
    apt-get install -y build-essential libpq-dev nodejs chromedriver
RUN mkdir /app
WORKDIR /app
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
RUN bundle install
ENV DATABASE_HOST db
ENV DATABASE_USERNAME postgres<commit_msg>Update Dockerfile to install chrome<commit_after>FROM ruby:2.6.5
ENV LANG C.UTF-8
LABEL maintainer '<NAME> <<EMAIL>>'

# https://github.com/nodesource/distributions#installation-instructions
RUN apt-get update -qq && \
    curl -sL https://deb.nodesource.com/setup_10.x | bash - && \
    curl -O https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb && \
    apt-get install -y build-essential libpq-dev nodejs ./google-chrome-stable_current_amd64.deb
RUN mkdir /app
WORKDIR /app
COPY Gemfile /app/Gemfile
COPY Gemfile.lock /app/Gemfile.lock
RUN bundle install
ENV DATABASE_HOST db
ENV DATABASE_USERNAME postgres
{'fraction_non_alphanumeric': 0.1157613535173642, 'fraction_numerical': 0.014247551202137132, 'mean_word_length': 4.132420091324201, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 5, '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': '4344940', 'n_tokens_mistral': 411, 'n_tokens_neox': 386, 'n_words': 96}