<commit_before>FROM ubuntu:trusty

# Install python, python-dev, pip and git (and associated tools)
RUN sudo apt-get clean && sudo apt-get update && sudo apt-get -y install python python-dev python-pip zlibc zlib1g zlib1g-dev

# Bundle app source
COPY . /src

# Install app dependencies
RUN cd /src; pip install -r requirements.txt

# By default, the app listens on port 5000
EXPOSE 5000

# And now, we execute it
CMD ["/src/start_docker.sh"]<commit_msg>Updated Dockerfile to use Alpine as it's base OS<commit_after>FROM gliderlabs/alpine:latest

RUN apk add --update \
	python \
	python-dev \
	py-pip \
	py-virtualenv \
	build-base \
	zlib-dev \
	libjpeg-turbo-dev \
	libpng-dev \
	&& rm -rf /var/cache/apk/* \
	&& ln -s /lib/libz.a /usr/lib/libz.a \
	&& ln -s /lib/libz.so /usr/lib/libz.so

WORKDIR /app

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

EXPOSE 5000
CMD ["/env/bin/python", "application.py"]
{'fraction_non_alphanumeric': 0.12632696390658174, 'fraction_numerical': 0.014861995753715499, 'mean_word_length': 3.172566371681416, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '4058799', 'n_tokens_mistral': 380, 'n_tokens_neox': 344, 'n_words': 108}