<commit_before>FROM python:3.5.2

MAINTAINER <EMAIL>

COPY . /app
COPY production.ini-TEMPLATE /app/config.ini

WORKDIR /app

RUN pip install --upgrade pip
RUN pip install gunicorn

ENV ARTICLEMETA_SETTINGS_FILE=/app/config.ini

RUN python setup.py install<commit_msg>Muda a imagem base para Alpine<commit_after>FROM python:3.5.2-alpine
ENV PYTHONUNBUFFERED 1

MAINTAINER <EMAIL>

COPY . /app
COPY production.ini-TEMPLATE /app/config.ini

WORKDIR /app

ENV ARTICLEMETA_SETTINGS_FILE=/app/config.ini

RUN apk add --no-cache --virtual .build-deps \
        make gcc libxml2-dev libxslt-dev git musl-dev \
    && apk add libxml2 libxslt \
    && pip install --no-cache-dir --upgrade pip \
    && pip install --no-cache-dir gunicorn \
    && python setup.py install \
    && apk --purge del .build-deps

{'fraction_non_alphanumeric': 0.10638297872340426, 'fraction_numerical': 0.011264080100125156, 'mean_word_length': 3.1666666666666665, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 2}, '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': '5159502', 'n_tokens_mistral': 310, 'n_tokens_neox': 291, 'n_words': 78}