<commit_before>FROM lanciv/nodejs

ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/

WORKDIR /opt/app
ADD . /opt/app

RUN npm install -g gulp
RUN NODE_ENV=production gulp build

EXPOSE 3000<commit_msg>Modified dockerfile<commit_after>FROM lanciv/nodejs

ADD package.json /tmp/package.json
RUN cd /tmp && npm install
RUN mkdir -p /opt/app && cp -a /tmp/node_modules /opt/app/

WORKDIR /opt/app
ADD . /opt/app

RUN npm install -g gulp
RUN NODE_ENV=production gulp build

RUN ls ./build
{'fraction_non_alphanumeric': 0.10810810810810811, 'fraction_numerical': 0.007207207207207207, 'mean_word_length': 3.448, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1134746', 'n_tokens_mistral': 214, 'n_tokens_neox': 203, 'n_words': 67}