<commit_before>FROM mhart/alpine-node

WORKDIR /dctvbot
COPY package.json package.json
COPY bin bin
RUN npm install --production

CMD node bin/dctvbot.js<commit_msg>Use yarn to build app in docker container<commit_after>FROM node:argon

# Create app directory
RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

# Install app dependencies
COPY package.json /usr/src/app/
COPY yarn.lock /usr/src/app/
RUN npm install -g yarn
RUN yarn

# Bundle app source
COPY . /usr/src/app
RUN yarn run build

CMD node bin/dctvbot.js
{'fraction_non_alphanumeric': 0.08382066276803118, 'fraction_numerical': 0.0, 'mean_word_length': 3.895238095238095, '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': '5024953', 'n_tokens_mistral': 191, 'n_tokens_neox': 174, 'n_words': 62}