<commit_before># Dockerfile for PRISONER
# http://prisoner.cs.st-andrews.ac.uk

# Version 0.1
# Last updated June 10th 2015


FROM ubuntu
MAINTAINER <NAME> <<EMAIL>>
LABEL Description="This image prepares a virtual environment with the dependencies needed to execute a PRISONER instance"

# creates a virtual environment for PRISONER
RUN echo "deb http://archive.ubuntu.com/ubuntu/ $(lsb_release -sc) main universe" >> /etc/apt/sources.list
RUN apt-get update && apt-get install -y python python-dev python-distribute python-pip libxml2-dev libxslt1-dev zlib1g-dev vim sqlite3 libsqlite3-dev

COPY ./ /usr/bin/prisoner/

# install python requirements into this environment
RUN pip install -r /usr/bin/prisoner/requirements.txt

EXPOSE 5000

CMD ["python","/usr/bin/prisoner/server/prisoner.wsgi"]
<commit_msg>[Docker] Updated dockerfile to support automated buildså<commit_after># Dockerfile for PRISONER
# http://prisoner.cs.st-andrews.ac.uk

# Version 0.2
# Last updated June 23rd 2016


FROM ubuntu
MAINTAINER <NAME> <<EMAIL>>
LABEL Description="This image prepares a virtual environment with the dependencies needed to execute a PRISONER instance"

# creates a virtual environment for PRISONER
RUN apt-get update && apt-get install -y python python-dev python-distribute python-pip libxml2-dev libxslt1-dev zlib1g-dev vim sqlite3 libsqlite3-dev

COPY ./ /usr/bin/prisoner/

# install python requirements into this environment
RUN pip install -r /usr/bin/prisoner/requirements.txt

EXPOSE 5000

CMD ["python","/usr/bin/prisoner/server/prisoner.wsgi"]

{'fraction_non_alphanumeric': 0.09588159588159588, 'fraction_numerical': 0.021879021879021878, 'mean_word_length': 4.675182481751825, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '4184269', 'n_tokens_mistral': 533, 'n_tokens_neox': 475, 'n_words': 159}