<commit_before>FROM node:6

MAINTAINER <EMAIL>

WORKDIR /work

ADD /package.json /work/
ADD /bower.json /work/
ADD /.bowerrc /work/
ADD /npm-shrinkwrap.json /work/

RUN npm install --unsafe-perm

ADD / /work

RUN npm run build


<commit_msg>Make Dockerfile ready for production deployment (may be a bit early… Anyway!)<commit_after>FROM node:6

MAINTAINER <EMAIL>

WORKDIR /work

ADD /package.json /work/
ADD /bower.json /work/
ADD /.bowerrc /work/
ADD /npm-shrinkwrap.json /work/

RUN npm install --unsafe-perm

ADD / /work

RUN npm run build

RUN mkdir /www
RUN mv /work/dist /www/front

VOLUME /www/front


{'fraction_non_alphanumeric': 0.11330049261083744, 'fraction_numerical': 0.003284072249589491, 'mean_word_length': 3.0939597315436242, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, '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': '2293436', 'n_tokens_mistral': 244, 'n_tokens_neox': 228, 'n_words': 76}