<commit_before>FROM node:alpine

ENV NODE_ENV=production

WORKDIR /usr/src/app

COPY package.json .
RUN npm install

COPY ./build .

EXPOSE 80
EXPOSE 443

CMD ["/usr/local/bin/node", "./server.js"]<commit_msg>build app before copying build/ dir<commit_after>FROM node:alpine

ENV NODE_ENV=production

WORKDIR /usr/src/app

COPY package.json .
RUN npm install &&
    npm run build

COPY ./build .

EXPOSE 80
EXPOSE 443

CMD ["/usr/local/bin/node", "./server.js"]
{'fraction_non_alphanumeric': 0.12364425162689804, 'fraction_numerical': 0.021691973969631236, 'mean_word_length': 3.6666666666666665, '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': '1810402', 'n_tokens_mistral': 185, 'n_tokens_neox': 164, 'n_words': 47}