<commit_before>FROM node:6
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

RUN apt-get update \
  && apt-get install --force-yes -y \
    git \
  \
  && apt-get clean -y \
  && rm -rf /var/lib/apt/lists/* \
  && rm -rf /tmp/* \
  && rm -rf /usr/{{lib,share}/locale,share/{man,doc,info,gnome/help,cracklib,il8n},{lib,lib64}/gconv,bin/localedef,sbin/build-locale-archive}

WORKDIR /var/tmp/
RUN git clone --depth=1 https://github.com/wspl/CIDR2PAC.git \
  && cd /var/tmp/CIDR2PAC \
  && curl -fsSk -o cn-aggregated.zone.txt http://www.ipdeny.com/ipblocks/data/aggregated/cn-aggregated.zone \
  && npm install \
  && npm install http-server -g \
  && node ./ \
  && mv whitelist.pac index.html


VOLUME 8080
ENTRYPOINT ["http-server", "./"]<commit_msg>Remove git, fix typo VOLUME => PORT<commit_after>FROM node:6
MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

ADD index.js /var/tmp/index.js
ADD package.json /var/tmp/package.json
ADD whitelist_template.pac /var/tmp/whitelist_template.pac

WORKDIR /var/tmp/
RUN curl -fsSk -o cn-aggregated.zone.txt http://www.ipdeny.com/ipblocks/data/aggregated/cn-aggregated.zone \
  && npm install \
  && npm install http-server -g \
  && node ./ \
  && mv whitelist.pac index.html


PORT 8080
ENTRYPOINT ["/usr/local/bin/http-server", "/var/tmp/"]
{'fraction_non_alphanumeric': 0.16869300911854104, 'fraction_numerical': 0.0121580547112462, 'mean_word_length': 3.2211538461538463, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, 'https://': 1, 'lorem ipsum': 0, 'www.': 2, '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': '4952970', 'n_tokens_mistral': 542, 'n_tokens_neox': 511, 'n_words': 101}