<commit_before>FROM ubuntu:latest
MAINTAINER <EMAIL>

EXPOSE 3001 6001

RUN apt-get update
RUN apt-get install -y python-software-properties software-properties-common
RUN apt-add-repository -y ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get -y install nodejs supervisor imagemagick sendmail build-essential unzip wget
RUN cd /opt \
    && wget https://github.com/Countly/countly-server/archive/15.06.zip \
    && unzip 15.06.zip \
    && mv countly-server-15.06 countly \
    && rm 15.06.zip

RUN cd /opt/countly/api \
    && sudo npm install time

COPY config/api.js /opt/countly/api/config.js
COPY config/frontend.js /opt/countly/frontend/express/config.js
COPY config/javascripts.js /opt/countly/frontend/express/public/javascripts/countly/countly.config.js

ADD /opt/countly/bin/commands/docker/countly-api.sh /etc/service/countly-api/run
ADD /opt/countly/bin/commands/docker/countly-dashboard.sh /etc/service/countly-dashboard/run

RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
<commit_msg>added grunt stuff<commit_after>FROM ubuntu:latest
MAINTAINER <EMAIL>

EXPOSE 3001 6001

RUN apt-get update
RUN apt-get install -y python-software-properties software-properties-common
RUN apt-add-repository -y ppa:chris-lea/node.js
RUN apt-get update
RUN apt-get -y install nodejs supervisor imagemagick sendmail build-essential unzip wget
RUN cd /opt \
    && wget https://github.com/Countly/countly-server/archive/15.06.zip \
    && unzip 15.06.zip \
    && mv countly-server-15.06 countly \
    && rm 15.06.zip

RUN cd /opt/countly/api \
    && sudo npm install time

#install grunt & npm modules
RUN cd /opt/countly \
    && npm install -g grunt-cli --unsafe-perm; npm install

COPY config/api.js /opt/countly/api/config.js
COPY config/frontend.js /opt/countly/frontend/express/config.js
COPY config/javascripts.js /opt/countly/frontend/express/public/javascripts/countly/countly.config.js

ADD /opt/countly/bin/commands/docker/countly-api.sh /etc/service/countly-api/run
ADD /opt/countly/bin/commands/docker/countly-dashboard.sh /etc/service/countly-dashboard/run

bash $DIR/scripts/countly.install.plugins.sh

RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*

{'fraction_non_alphanumeric': 0.127437641723356, 'fraction_numerical': 0.021768707482993196, 'mean_word_length': 3.567287784679089, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '1134645', 'n_tokens_mistral': 835, 'n_tokens_neox': 775, 'n_words': 170}