<commit_before>FROM ubuntu:16.10

ENV APPHOME=/myapp
RUN mkdir $APPHOME
WORKDIR $APPHOME

RUN apt-get update && \
    apt-get install -y nodejs npm pm2

COPY package.json $APPHOME/

RUN npm set progress=false && \
    npm install --loglevel http

# some packages reference node as "node". This simlink fixes
# the naming issue for those packages. (Example: http-server)
# https://github.com/nodejs/node-v0.x-archive/issues/3911
RUN ln -s /usr/bin/nodejs /usr/bin/node<commit_msg>Added yarn to Dockerfile.<commit_after>FROM ubuntu:16.10

ENV APPHOME=/myapp
RUN mkdir $APPHOME
WORKDIR $APPHOME

RUN apt-get update && \
    apt-get install -y nodejs npm pm2 yarn

COPY package.json $APPHOME/

RUN yarn install

# some packages reference node as "node". This simlink fixes
# the naming issue for those packages. (Example: http-server)
# https://github.com/nodejs/node-v0.x-archive/issues/3911
RUN ln -s /usr/bin/nodejs /usr/bin/node
{'fraction_non_alphanumeric': 0.10883620689655173, 'fraction_numerical': 0.021551724137931036, 'mean_word_length': 3.739795918367347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '3562669', 'n_tokens_mistral': 341, 'n_tokens_neox': 316, 'n_words': 102}