<commit_before>FROM python:3.9-alpine
ADD server /app/server
ADD setup.py /app
WORKDIR /app
RUN pip install --no-cache-dir gunicorn flask
RUN apk add --no-cache libxml2 libxslt &&\
    apk add --no-cache --virtual .build-deps gcc musl-dev libxml2-dev libxslt-dev &&\
    python setup.py install &&\
    apk del .build-deps
CMD ["gunicorn", "--log-level=info", "-b", "0.0.0.0:8152", "server:app"]<commit_msg>make build a bit faster<commit_after>FROM python:3.9-alpine
ADD server /app/server
ADD setup.py /app
WORKDIR /app
RUN apk add --no-cache libxml2 libxslt &&\
    apk add --no-cache --virtual .build-deps gcc musl-dev libxml2-dev libxslt-dev &&\
    pip install . gunicorn --no-cache-dir --global-option="build_ext" --global-option="-j5" &&\
    python setup.py install &&\
    apk del .build-deps
CMD ["gunicorn", "--log-level=info", "-b", "0.0.0.0:8152", "server:app"]
{'fraction_non_alphanumeric': 0.17048054919908467, 'fraction_numerical': 0.028604118993135013, 'mean_word_length': 3.206730769230769, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, 'pii_count': 2, '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': '3538332', 'n_tokens_mistral': 343, 'n_tokens_neox': 321, 'n_words': 89}