<commit_before># uWSGI + Python + extras
#
# (See README.md for instructions)

FROM       debian:jessie
MAINTAINER <NAME> "<EMAIL>"

RUN apt-get update
RUN apt-get install -y \
    build-essential \
    wget \
    make \
    python-dev \
    python-pip \
    python-psycopg2 \
    libfreetype6-dev \
    libjpeg-dev \
    libpng12-dev \
    libxml2-dev \
    libxslt1-dev \
    --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

RUN pip install -U pip setuptools && pip install -U virtualenv uwsgi
ADD init /init

# Setup app user.
RUN useradd --create-home app
USER app
WORKDIR /home/app

EXPOSE  3031
VOLUME  ["/home/app/src", "/home/app/env"]
CMD     ["/init"]<commit_msg>python-uwsgi: Install python-lxml<commit_after># uWSGI + Python + extras
#
# (See README.md for instructions)

FROM       debian:jessie
MAINTAINER <NAME> "<EMAIL>"

RUN apt-get update
RUN apt-get install -y \
    build-essential \
    wget \
    make \
    python-dev \
    python-pip \
    python-psycopg2 \
    python-lxml \
    libfreetype6-dev \
    libjpeg-dev \
    libpng12-dev \
    libxml2-dev \
    libxslt1-dev \
    --no-install-recommends \
    && rm -rf /var/lib/apt/lists/*

RUN pip install -U pip setuptools && pip install -U virtualenv uwsgi
ADD init /init

# Setup app user.
RUN useradd --create-home app
USER app
WORKDIR /home/app

EXPOSE  3031
VOLUME  ["/home/app/src", "/home/app/env"]
CMD     ["/init"]
{'fraction_non_alphanumeric': 0.125531914893617, 'fraction_numerical': 0.014184397163120567, 'mean_word_length': 2.3044496487119437, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '1169667', 'n_tokens_mistral': 548, 'n_tokens_neox': 527, 'n_words': 136}