<commit_before>FROM node:6.3.1-onbuild

RUN apt-get update && apt-get install -y \
  xvfb

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
  && sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
  && apt-get update \
  && apt-get install -y google-chrome-stable \
  && google-chrome --version

COPY entrypoint.sh /entrypoint.sh
RUN bash -n /entrypoint.sh && chmod a+x /entrypoint.sh
  
ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "start" ]<commit_msg>switch from onbuild to manual, and workdir to /wechaty<commit_after>FROM node:6.4

RUN apt-get update && apt-get install -y \
  xvfb

RUN wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | apt-key add - \
  && sh -c 'echo "deb http://dl.google.com/linux/chrome/deb/ stable main" >> /etc/apt/sources.list.d/google.list' \
  && apt-get update \
  && apt-get install -y google-chrome-stable \
  && google-chrome --version

RUN groupadd -r wechaty && useradd -r -g wechaty wechaty -d /wechaty
USER wechaty

WORKDIR /wechaty

COPY package.json /wechaty
RUN npm install
COPY . /wechaty

RUN chown -R wechaty.wechaty /wechaty

COPY entrypoint.sh /entrypoint.sh
RUN bash -n /entrypoint.sh && chmod a+x /entrypoint.sh

ENTRYPOINT [ "/entrypoint.sh" ]
CMD [ "start" ]

{'fraction_non_alphanumeric': 0.15052950075642965, 'fraction_numerical': 0.0037821482602118004, 'mean_word_length': 3.0090909090909093, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '2160573', 'n_tokens_mistral': 510, 'n_tokens_neox': 498, 'n_words': 128}