<commit_before>FROM node:0.12-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
    git autoconf automake ca-certificates build-essential; \
    git clone https://github.com/facebook/watchman.git; \
    cd watchman; ./autogen.sh; ./configure; make; make install; cd; \
    npm install -g \
    ember-cli   \
    bower       \
    phantomjs; \
    apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /watchman; \
    mkdir /home/ember /home/dist

VOLUME ["/home/dist"]
WORKDIR /home/ember

ENTRYPOINT ["ember", "build", "--output-path", "/home/dist"]
CMD ["--watch", "--environment", "development"]

ONBUILD COPY . /home/ember
ONBUILD CMD ["--environment", "production"]<commit_msg>Updated Ember-cli to be a server and do better file watching<commit_after>FROM node:0.12-slim

RUN apt-get update && apt-get install -y --no-install-recommends \
    git autoconf automake ca-certificates build-essential libpcre3 libpcre3-dev; \
    git clone https://github.com/facebook/watchman.git; \
    cd watchman; ./autogen.sh; ./configure; make && make install; cd ~; \
    npm install -g \
    ember-cli   \
    bower       \
    phantomjs; \
    apt-get clean; rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /watchman; \
    mkdir /home/ember /home/dist

EXPOSE 80 31609
WORKDIR /home/ember
ENTRYPOINT ["ember"]
CMD ["serve", "--port", "80", "--watcher", "polling"]

ONBUILD VOLUME ["/home/ember/dist"]
ONBUILD COPY . /home/ember
ONBUILD CMD ["build", "--output-path", "/home/dist", "--environment", "production"]
{'fraction_non_alphanumeric': 0.16753585397653195, 'fraction_numerical': 0.01108213820078227, 'mean_word_length': 2.8471177944862154, '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': '7179805', 'n_tokens_mistral': 541, 'n_tokens_neox': 518, 'n_words': 141}