<commit_before>FROM zooniverse/ruby:2.3.0

ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

WORKDIR /rails_app

ADD ./Gemfile /rails_app/
ADD ./Gemfile.lock /rails_app/

RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y supervisor git && \
    apt-get clean

RUN cd /rails_app && \
    bundle install --without test development

ADD ./ /rails_app

ADD docker/supervisor.conf /etc/supervisor/conf.d/talk.conf

EXPOSE 81

ENTRYPOINT /usr/bin/supervisord<commit_msg>add rails pg gem deps to dockerfile<commit_after>FROM zooniverse/ruby:2.3.0

ENV DEBIAN_FRONTEND noninteractive
RUN locale-gen en_US.UTF-8
ENV LANG en_US.UTF-8
ENV LC_ALL en_US.UTF-8

WORKDIR /rails_app

ADD ./Gemfile /rails_app/
ADD ./Gemfile.lock /rails_app/

RUN apt-get update && \
    apt-get upgrade -y && \
    apt-get install -y supervisor git libpq-dev && \
    apt-get clean

RUN cd /rails_app && \
    bundle install --without test development

ADD ./ /rails_app

ADD docker/supervisor.conf /etc/supervisor/conf.d/talk.conf

EXPOSE 81

ENTRYPOINT /usr/bin/supervisord
{'fraction_non_alphanumeric': 0.10587188612099645, 'fraction_numerical': 0.014234875444839857, 'mean_word_length': 3.120879120879121, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1001868', 'n_tokens_mistral': 444, 'n_tokens_neox': 418, 'n_words': 110}