<commit_before>FROM ubuntu:utopic

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python python-dev curl git python-distribute python-pip=1.5.6-2
RUN curl -L https://github.com/rberrelleza/hiptsi/archive/v0.3.tar.gz | tar xvz
RUN mv hiptsi-0.3 /hiptsi
RUN pip install virtualenv
RUN virtualenv /hiptsi/venv
RUN /hiptsi/venv/bin/pip install --upgrade pip==6.1.1
RUN /hiptsi/venv/bin/pip install -r /hiptsi/requirements.txt

EXPOSE 8080
VOLUME /data
CMD /hiptsi/venv/bin/python /hiptsi/app.py<commit_msg>Update docker file to use release 0.4<commit_after>FROM ubuntu:utopic

RUN apt-get update
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y python python-dev curl git python-distribute python-pip=1.5.6-2
RUN curl -L https://github.com/rberrelleza/hiptsi/archive/v0.4.tar.gz | tar xvz
RUN mv hiptsi-0.4 /hiptsi
RUN pip install virtualenv
RUN virtualenv /hiptsi/venv
RUN /hiptsi/venv/bin/pip install --upgrade pip==6.1.1
RUN /hiptsi/venv/bin/pip install -r /hiptsi/requirements.txt

EXPOSE 8080
VOLUME /data
CMD /hiptsi/venv/bin/python /hiptsi/app.py
{'fraction_non_alphanumeric': 0.11018518518518519, 'fraction_numerical': 0.02962962962962963, 'mean_word_length': 4.147619047619048, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '2081770', 'n_tokens_mistral': 447, 'n_tokens_neox': 426, 'n_words': 105}