<commit_before>FROM node:7-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY . /usr/src/app

RUN apk add --no-cache --virtual curl git && \
  mkdir -p /opt && \
  curl -sL https://yarnpkg.com/latest.tar.gz | tar xz -C /opt && \
  mv /opt/dist /opt/yarn && \
  ln -s /opt/yarn/bin/yarn /usr/local/bin && \
  echo $(git rev-parse HEAD) >> VERSION && \
  echo $(git name-rev --tags --name-only $(git rev-parse HEAD)) >> VERSION && \
  echo $(git show -s --format=%s) >> VERSION && \
  echo $(git show -s --format=%ci) >> VERSION

RUN yarn install

CMD [ "npm", "start" ]<commit_msg>Fix !version, use yarn for starting bot<commit_after>FROM node:7-alpine

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

COPY . /usr/src/app

RUN apk add --no-cache --virtual curl && \
  apk add --no-cache --virtual git && \
  mkdir -p /opt && \
  curl -sL https://yarnpkg.com/latest.tar.gz | tar xz -C /opt && \
  mv /opt/dist /opt/yarn && \
  ln -s /opt/yarn/bin/yarn /usr/local/bin && \
  echo $(git rev-parse HEAD) >> VERSION && \
  echo $(git name-rev --tags --name-only $(git rev-parse HEAD)) >> VERSION && \
  echo $(git show -s --format=%s) >> VERSION && \
  echo $(git show -s --format=%ci) >> VERSION

RUN yarn install

CMD ["yarn", "run", "start"]
{'fraction_non_alphanumeric': 0.19951923076923078, 'fraction_numerical': 0.0016025641025641025, 'mean_word_length': 2.431318681318681, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 19, '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': '4701350', 'n_tokens_mistral': 500, 'n_tokens_neox': 488, 'n_words': 143}