<commit_before>FROM python:2.7.9
MAINTAINER <NAME> <<EMAIL>>

RUN pip install 'vumi-http-api>=0.1.0'

COPY . /app
WORKDIR /app

EXPOSE 9003

CMD twistd -n --pidfile=vumi-http-api.pid \
    vumi_worker \
    --worker-class=vumi_http_api.VumiApiWorker \
    --hostname=rabbitmq --vhost=/ --username=guest --password=<PASSWORD> \
    --config=vumi_http_api.yaml --set-option=transport_name:$TRANSPORT \
    --set-option=push_message_url:$PUSH_MSG_URL \
    --set-option=push_event_url:$PUSH_EVENT_URL \
    --set-option=conversation_key:$CONVERSATION
<commit_msg>Update version of http api (thanks @hodgestar)<commit_after>FROM python:2.7.9
MAINTAINER P<NAME> <<EMAIL>>

RUN pip install 'vumi-http-api>=0.1.1'

COPY . /app
WORKDIR /app

EXPOSE 9003

CMD twistd -n --pidfile=vumi-http-api.pid \
    vumi_worker \
    --worker-class=vumi_http_api.VumiApiWorker \
    --hostname=rabbitmq --vhost=/ --username=guest --password=<PASSWORD> \
    --config=vumi_http_api.yaml --set-option=transport_name:$TRANSPORT \
    --set-option=push_message_url:$PUSH_MSG_URL \
    --set-option=push_event_url:$PUSH_EVENT_URL \
    --set-option=conversation_key:$CONVERSATION

{'fraction_non_alphanumeric': 0.14991334488734837, 'fraction_numerical': 0.01733102253032929, 'mean_word_length': 3.6761133603238867, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '1660059', 'n_tokens_mistral': 469, 'n_tokens_neox': 444, 'n_words': 66}