<commit_before>FROM ruby:2.2.3
RUN mkdir -p /app
WORKDIR /app
COPY Gemfile /app
RUN bundle install
COPY . /app
EXPOSE 5300
WORKDIR /app
ENV PORT 5300
CMD ["foreman", "start"]<commit_msg>Fix Dockerfile for creating and migrating database<commit_after>FROM ruby:2.2.3
RUN mkdir -p /app
WORKDIR /app
COPY Gemfile /app
RUN bundle install
COPY . /app
EXPOSE 5300
WORKDIR /app
ENV PORT 5300
FROM library/postgres
ENV POSTGRES_USER postgres
ENV POSTGRES_PASSWORD <PASSWORD>
ENV POSTGRES_DB sonata
RUN bundle exec rake db:migrate
CMD ["foreman", "start"]
{'fraction_non_alphanumeric': 0.08058608058608059, 'fraction_numerical': 0.040293040293040296, 'mean_word_length': 4.819148936170213, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '3586465', 'n_tokens_mistral': 213, 'n_tokens_neox': 190, 'n_words': 73}