<commit_before>FROM matthewgall/python-dev:latest

WORKDIR /app

COPY . /app
RUN virtualenv /env && /env/bin/pip install -r /app/requirements.txt

EXPOSE 5000
CMD ["/env/bin/python", "application.py"]<commit_msg>Improved Dockerfile<commit_after>FROM gliderlabs/alpine:latest
MAINTAINER <NAME> <<EMAIL>>

WORKDIR /app
COPY . /app

RUN apk add --update \
	build-base \
	git \
	python \
	python-dev \
	py-pip \
	py-virtualenv \
	&& rm -rf /var/cache/apk/* \
	&& virtualenv /env \
	&& /env/bin/pip install -r /app/requirements.txt

EXPOSE 5000
CMD ["/env/bin/python", "application.py"]
{'fraction_non_alphanumeric': 0.1549053356282272, 'fraction_numerical': 0.013769363166953529, 'mean_word_length': 3.343283582089552, 'pattern_counts': {'":': 0, '<': 6, '<?xml version=': 0, '>': 6, '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': '7602244', 'n_tokens_mistral': 239, 'n_tokens_neox': 220, 'n_words': 51}