<commit_before>FROM mhart/alpine-node:6.2

ENV InstallationDir=/usr/share/nginx/html/applogin

WORKDIR ${InstallationDir}

RUN mkdir -p ${InstallationDir}

COPY . ${InstallationDir}

RUN echo -e '#!/bin/ash\n ash "$@"' > /bin/bash && chmod +x /bin/bash && \
    apk update && \
    apk add ruby-dev python libffi-dev \
            make autoconf automake gcc g++ bzip2 git ruby && \
    npm install -g nan && \
    npm -g install node-gyp && \
    npm -g install iconv \
    && npm install -g coffee-script grunt grunt-cli i18next-conv bower\
    && gem update --no-document --system \
    && gem install --no-document json_pure compass \
    && gem cleanup \
    && gem sources -c && \
    ./build.sh && \
    npm -g cache clean && \
    npm cache clean && \
    apk del make autoconf automake gcc g++ ruby ruby-dev python && \
    rm -r /etc/ssl /var/cache/apk/*


VOLUME ${InstallationDir}

CMD ${InstallationDir}/start.sh
<commit_msg>Delete after install all uneeded dependencies<commit_after>FROM mhart/alpine-node:6.2

ENV InstallationDir=/usr/share/nginx/html/applogin

WORKDIR ${InstallationDir}

RUN mkdir -p ${InstallationDir}

COPY . ${InstallationDir}

RUN echo -e '#!/bin/ash\n ash "$@"' > /bin/bash && chmod +x /bin/bash && \
    apk update && \
    apk add ruby-dev python libffi-dev \
            make autoconf automake gcc g++ bzip2 git ruby && \
    npm install -g nan iconv node-gyp coffee-script grunt grunt-cli i18next-conv bower \
    && gem update --no-document --system \
    && gem install --no-document json_pure compass \
    && gem cleanup \
    && gem sources -c && \
    ./build.sh && \
    npm -g uninstall nan iconv node-gyp coffee-script grunt grunt-cli i18next-conv bower && \
    npm -g cache clean && \
    npm cache clean && \
    rm -rf /usr/lib/ruby && \
    rm -rf /root/.node-gyp && \
    rm -rf /root/.cache && \
    apk del ruby-dev python libffi-dev make autoconf automake gcc g++ bzip2 git ruby && \
    rm -r /etc/ssl /var/cache/apk/*

VOLUME ${InstallationDir}

CMD ${InstallationDir}/start.sh

{'fraction_non_alphanumeric': 0.14068627450980392, 'fraction_numerical': 0.006372549019607843, 'mean_word_length': 2.4187604690117253, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '2032291', 'n_tokens_mistral': 752, 'n_tokens_neox': 693, 'n_words': 211}