<commit_before>FROM node:argon
ENV PORT=8100

RUN npm install -g npm@next

RUN mkdir -p /code
WORKDIR /code
# Install app dependencies - with cache
COPY package.json /code/
RUN npm install
COPY backend/package.json /code/backend/
RUN npm run install:backend

# Code-specific
COPY . /code
RUN npm run install:fonts
RUN npm run production

EXPOSE 8100
CMD [ "npm", "run", "backend" ]<commit_msg>docker: the image has to be re-build on every code change (as expected)<commit_after>FROM node:argon
ENV PORT=8100

RUN npm install -g npm@next

RUN mkdir -p /code
WORKDIR /code
# Install app dependencies - with cache
COPY package.json /code/
RUN npm install
COPY backend/package.json /code/backend/
RUN npm run install:backend

# Code-specific
COPY . /code
RUN npm run install:fonts
RUN npm run build

EXPOSE 8100
CMD [ "npm", "run", "backend" ]
{'fraction_non_alphanumeric': 0.09058402860548272, 'fraction_numerical': 0.01907032181168057, 'mean_word_length': 4.121951219512195, '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': '4344962', 'n_tokens_mistral': 299, 'n_tokens_neox': 264, 'n_words': 112}