<commit_before>FROM debian:jessie

MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

COPY requirements.txt /requirements.txt

RUN set -x \
	&& apt-get update -q \
	&& apt-get install -qy --no-install-recommends \
	python-pip build-essential python-dev \
	&& pip install -r requirements.txt \
	&& apt-get purge -y --auto-remove -o APT::AutoRemove::RecommendsImportant=false -o APT::AutoRemove::SuggestsImportant=false build-essential python-dev \
	&& rm -rf /var/lib/apt/lists/*

COPY runserver.py /runserver.py
ADD static /static
ADD templates /templates

ENTRYPOINT ["python", "-u", "runserver.py"]<commit_msg>Use alpine-based base image<commit_after>FROM python:2.7-alpine

MAINTAINER <NAME> <<EMAIL>>

ENV DEBIAN_FRONTEND noninteractive

ADD requirements.txt /
RUN pip install -r /requirements.txt
ADD . /app/

EXPOSE 5001
ENTRYPOINT ["python", "-u", "/app/runserver.py"]
{'fraction_non_alphanumeric': 0.1361079865016873, 'fraction_numerical': 0.006749156355455568, 'mean_word_length': 4.2976190476190474, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2032356', 'n_tokens_mistral': 322, 'n_tokens_neox': 306, 'n_words': 79}