<commit_before>FROM ubuntu:14.04

MAINTAINER <NAME>

RUN apt-get update
RUN apt-get install -y wget build-essential

RUN wget http://download.zeromq.org/zeromq-3.2.4.tar.gz
RUN tar xzf zeromq-3.2.4.tar.gz
WORKDIR /zeromq-3.2.4
RUN ./configure && make && make install
RUN ldconfig

RUN apt-get install -y python python-dev python-distribute python-pip
RUN pip install pyzmq
RUN pip install flask

ADD . /opt/app
WORKDIR /opt/app
CMD python run.py<commit_msg>Gunicorn is used as a frontend server.<commit_after>FROM ubuntu:14.04

MAINTAINER <NAME>

RUN apt-get update
RUN apt-get install -y wget build-essential

RUN wget http://download.zeromq.org/zeromq-3.2.4.tar.gz
RUN tar xzf zeromq-3.2.4.tar.gz
WORKDIR /zeromq-3.2.4
RUN ./configure && make && make install
RUN ldconfig

RUN apt-get install -y python python-dev python-distribute python-pip
RUN pip install pyzmq
RUN pip install flask
RUN pip install gunicorn

ADD . /opt/app
WORKDIR /opt/app
CMD gunicorn -b 0.0.0.0:8000 -w 4 run:app
{'fraction_non_alphanumeric': 0.10425101214574899, 'fraction_numerical': 0.0354251012145749, 'mean_word_length': 3.6650943396226414, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7121755', 'n_tokens_mistral': 394, 'n_tokens_neox': 367, 'n_words': 117}