<commit_before>FROM ubuntu:latest
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && apt-get install -y \
        python \
        python-dev \
        python-virtualenv 

RUN buildDeps=' \
        libjpeg8-dev \
        libffi-dev \
        libssl-dev \
        libxml2-dev \
        libxslt1-dev \
        zlib1g-dev \
    ' \
    && set -x \
    && apt-get install -y ${buildDeps} --no-install-recommends \
    && useradd -m mitm \
    && su -c "virtualenv /home/mitm/mitmproxy" mitm \
    && su -c "/home/mitm/mitmproxy/bin/pip install Pillow==3.0 mitmproxy" mitm \
    && apt-get purge -y --auto-remove ${buildDeps} build-essential gcc \
    && rm -rf /var/lib/apt/lists/* 

EXPOSE 8080

ENV HOME /home/mitm
ENV LANG en_US.UTF-8

USER mitm
CMD [ "/home/mitm/mitmproxy/bin/python", "/home/mitm/mitmproxy/bin/mitmproxy" ]<commit_msg>adding dependencies that accidentally got removed and removed inappropriate purges<commit_after>FROM ubuntu:latest
MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update && apt-get install -y \
        libxslt1.1 \
        libjpeg8 \
        python \
        python-dev \
        python-virtualenv 

RUN buildDeps=' \
        libjpeg8-dev \
        libffi-dev \
        libssl-dev \
        libxml2-dev \
        libxslt1-dev \
        zlib1g-dev \
    ' \
    && set -x \
    && apt-get install -y ${buildDeps} --no-install-recommends \
    && useradd -m mitm \
    && su -c "virtualenv /home/mitm/mitmproxy" mitm \
    && su -c "/home/mitm/mitmproxy/bin/pip install Pillow==3.0 mitmproxy" mitm \
    && apt-get purge -y --auto-remove ${buildDeps} \
    && rm -rf /var/lib/apt/lists/* 

EXPOSE 8080

ENV HOME /home/mitm
ENV LANG en_US.UTF-8

USER mitm
CMD [ "/home/mitm/mitmproxy/bin/python", "/home/mitm/mitmproxy/bin/mitmproxy" ]
{'fraction_non_alphanumeric': 0.13969335604770017, 'fraction_numerical': 0.014196479273140262, 'mean_word_length': 2.006825938566553, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '2444624', 'n_tokens_mistral': 682, 'n_tokens_neox': 647, 'n_words': 143}