<commit_before>FROM node:4.1.1

MAINTAINER <NAME> <<EMAIL>>

# Download json server
RUN apt-get update && \
    apt-get install -qy --no-install-recommends unzip wget && \
    wget -O /opt/nodejs.zip "http://github.com/John-Lin/docker-node/archive/master.zip" --no-check-certificate && \
    unzip -q /opt/nodejs.zip -d /opt && \
    cp /opt/docker-node-master/jsonServer/json-server.js /opt && \
    cp /opt/docker-node-master/jsonServer/package.json /opt && \
    cd /opt && npm install && npm install pm2 -g

# Clean up APT and zip when done.
RUN apt-get clean && rm -rf /opt/nodejs.zip

CMD ["pm2", "start", "/opt/json-server.js"]

WORKDIR /opt<commit_msg>For degug 2<commit_after>FROM node:4.1.1

MAINTAINER <NAME> <<EMAIL>>

# Download json server
RUN apt-get update && \
    apt-get install -qy --no-install-recommends unzip wget && \
    wget -O /opt/nodejs.zip "http://github.com/John-Lin/docker-node/archive/master.zip" --no-check-certificate && \
    unzip -q /opt/nodejs.zip -d /opt && \
    cp /opt/docker-node-master/jsonServer/json-server.js /opt && \
    cp /opt/docker-node-master/jsonServer/package.json /opt && \
    cd /opt && npm install && npm install pm2 -g

# Clean up APT and zip when done.
RUN apt-get clean && rm -rf /opt/nodejs.zip

CMD ["/bin/bash"]
# CMD ["pm2", "start", "/opt/json-server.js"]

WORKDIR /opt
{'fraction_non_alphanumeric': 0.1726457399103139, 'fraction_numerical': 0.008221225710014948, 'mean_word_length': 2.7612359550561796, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1266671', 'n_tokens_mistral': 512, 'n_tokens_neox': 496, 'n_words': 123}