<commit_before>FROM node:carbon

ADD frontend /paste-app

WORKDIR /paste-app

RUN npm install

RUN touch .env

RUN rm .env

WORKDIR /paste-app/src/assets

RUN /paste-app/node_modules/.bin/bower install

WORKDIR /paste-app

RUN ./node_modules/.bin/ng build --prod

EXPOSE 4200

CMD node server.js<commit_msg>allow bower to run under root<commit_after>FROM node:carbon

ADD frontend /paste-app

WORKDIR /paste-app

RUN npm install

RUN touch .env

RUN rm .env

WORKDIR /paste-app/src/assets

RUN /paste-app/node_modules/.bin/bower install --allow-root

WORKDIR /paste-app

RUN ./node_modules/.bin/ng build --prod

EXPOSE 4200

CMD node server.js
{'fraction_non_alphanumeric': 0.09797822706065319, 'fraction_numerical': 0.012441679626749611, 'mean_word_length': 3.410958904109589, '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': '1013057', 'n_tokens_mistral': 251, 'n_tokens_neox': 230, 'n_words': 69}