<commit_before>FROM node:9.4.0
MAINTAINER <NAME> (<EMAIL>)

RUN mkdir -p /usr/src/app
WORKDIR /usr/src/app

ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY . /usr/src/app

RUN npm install && npm cache clean --force
RUN npm run build

EXPOSE 3000
USER node
CMD [ "npm", "start" ]<commit_msg>Change workdir in dockerfile to avoid permissions problems<commit_after>FROM node:9.4.0
MAINTAINER <NAME> (<EMAIL>)

USER node
WORKDIR /home/node/

RUN mkdir -p /home/node/app
WORKDIR /home/node/app

ARG NODE_ENV
ENV NODE_ENV $NODE_ENV
COPY --chown=node:node . /home/node/app

RUN npm install && npm cache clean --force
RUN npm run build

EXPOSE 3000
CMD [ "npm", "start" ]
{'fraction_non_alphanumeric': 0.1173780487804878, 'fraction_numerical': 0.021341463414634148, 'mean_word_length': 3.9398496240601504, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '1935805', 'n_tokens_mistral': 267, 'n_tokens_neox': 243, 'n_words': 82}