<commit_before>FROM node:14

ENV NODE_ENV=production

WORKDIR /usr/src/app

COPY package*.json ./

RUN npm ci --production

COPY . .

EXPOSE 3000

CMD [ "node", "server.js" ]<commit_msg>fix(back): add common package to docker image<commit_after>FROM node:14

ENV NODE_ENV=production

WORKDIR /usr/src/common
COPY ./common/package*.json ./
RUN npm ci --production
COPY ./common .

WORKDIR /usr/src/back
COPY ./back/package*.json ./
RUN npm ci --production
COPY ./back .

EXPOSE 3000

CMD [ "node", "back/server.js" ]
{'fraction_non_alphanumeric': 0.1378640776699029, 'fraction_numerical': 0.02330097087378641, 'mean_word_length': 3.4482758620689653, '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': '2715301', 'n_tokens_mistral': 199, 'n_tokens_neox': 178, 'n_words': 53}