<commit_before>FROM node:8-alpine
RUN apk --no-cache add wget

WORKDIR /build
COPY package.json /build
RUN npm install --production
COPY . /build

EXPOSE 3000
RUN npm run build
HEALTHCHECK --interval=30s --timeout=1s CMD wget localhost:3000/ping -q || exit 1
CMD HOST=0.0.0.0 NODE_ENV=production PROD=true ./node_modules/nuxt/bin/nuxt start<commit_msg>run docker container as user=node + include git required for install<commit_after>FROM node:8-alpine
RUN apk --no-cache add wget git

WORKDIR /build
COPY package.json /build
RUN npm install --production
RUN apk --no-cache del git
COPY . /build

EXPOSE 3000
RUN npm run build
HEALTHCHECK --interval=30s --timeout=1s CMD wget localhost:3000/ping -q || exit 1

USER node
CMD HOST=0.0.0.0 NODE_ENV=production PROD=true ./node_modules/nuxt/bin/nuxt start
{'fraction_non_alphanumeric': 0.0986267166042447, 'fraction_numerical': 0.04244694132334582, 'mean_word_length': 4.10828025477707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '6359128', 'n_tokens_mistral': 307, 'n_tokens_neox': 271, 'n_words': 94}