<commit_before>FROM alpine:3.5
MAINTAINER BlackCarrot <<EMAIL>>
LABEL description="Cryptocurrency Exchange Rate Service"

RUN /bin/echo 'set -o vi' >> /etc/profile
RUN /bin/echo 'gem: --no-document' > /etc/gemrc
RUN apk update && apk upgrade
RUN apk add --no-cache alpine-sdk ruby ruby-dev ruby-io-console ruby-irb ruby-bigdecimal ruby-json libstdc++ tzdata bash ca-certificates
RUN rm -fr /var/cache/apk/*

WORKDIR /rate-service

COPY . /rate-service

RUN gem install bundler
RUN bundle config --global silence_root_warning 1
RUN bundle install --binstubs --path vendor

EXPOSE 4568

# /usr/bin/bundle exec puma -C config/puma.rb config.ru
CMD ["/usr/bin/bundle", "exec", "puma", "-C", "config/puma.rb", "config.ru"]<commit_msg>binstubs does nothing for us<commit_after>FROM alpine:3.5
MAINTAINER BlackCarrot <<EMAIL>>
LABEL description="Cryptocurrency Exchange Rate Service"

RUN /bin/echo 'set -o vi' >> /etc/profile
RUN /bin/echo 'gem: --no-document' > /etc/gemrc
RUN apk update && apk upgrade
RUN apk add --no-cache alpine-sdk ruby ruby-dev ruby-io-console ruby-irb ruby-bigdecimal ruby-json libstdc++ tzdata bash ca-certificates
RUN rm -fr /var/cache/apk/*

WORKDIR /rate-service

COPY . /rate-service

RUN gem install bundler
RUN bundle config --global silence_root_warning 1
RUN bundle install --path vendor

EXPOSE 4568

# /usr/bin/bundle exec puma -C config/puma.rb config.ru
CMD ["/usr/bin/bundle", "exec", "puma", "-C", "config/puma.rb", "config.ru"]
{'fraction_non_alphanumeric': 0.1326949384404925, 'fraction_numerical': 0.009575923392612859, 'mean_word_length': 4.044827586206897, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 13, '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': '553746', 'n_tokens_mistral': 539, 'n_tokens_neox': 502, 'n_words': 162}