<commit_before>FROM experimentalplatform/ubuntu:latest

RUN curl -sL https://deb.nodesource.com/setup | sudo bash - && \
    apt-get update && \
    apt-get install -y build-essential curl nodejs git systemd-services && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

RUN npm install -g bower

COPY management-proxy/session-manager /app
RUN cd /app && npm install

COPY frontend /app/public
RUN cd /app/public && bower --allow-root install

WORKDIR /app
EXPOSE 3000
ENV NODE_ENV production
CMD ["dumb-init", "node", "bin/www"]<commit_msg>'Run `apt-get install nodejs` (as root) to install Node.js 0.10 and npm' – it does not install npm.<commit_after>FROM experimentalplatform/ubuntu:latest

RUN curl -sL https://deb.nodesource.com/setup | sudo bash - && \
    apt-get update && \
    apt-get install -y build-essential curl nodejs npm git systemd-services && \
    apt-get clean && \
    rm -rf /var/lib/apt/lists/*

RUN npm install -g bower

COPY management-proxy/session-manager /app
RUN cd /app && npm install

COPY frontend /app/public
RUN cd /app/public && bower --allow-root install

WORKDIR /app
EXPOSE 3000
ENV NODE_ENV production
CMD ["dumb-init", "node", "bin/www"]
{'fraction_non_alphanumeric': 0.12563237774030353, 'fraction_numerical': 0.00927487352445194, 'mean_word_length': 3.2544802867383513, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, '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': '3451496', 'n_tokens_mistral': 414, 'n_tokens_neox': 380, 'n_words': 129}