<commit_before>FROM ubuntu
WORKDIR /app/
ADD docker/web/start.sh /start.sh
RUN chmod +x /start.sh
RUN mkdir /app/logs
RUN apt-get -y update && \
    apt-get -y install apache2 && \
    apt-get clean all

# Install system dependencies
RUN apt-get -y update && \
    apt-get install -y \
    git \
    hostname \
    openssl \
    sqlite3 \
    sudo \
    tar \
    curl \
    wget \
    python-setuptools \
    build-essential\
    python3.6-dev \
    libapache2-mod-wsgi \
    libxml2-dev \
    libxmlsec1-dev \
    python-pip \
    libmysqlclient-dev

RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3 get-pip.py
RUN pip3 install --upgrade pip
RUN pip3 install boto3 watchtower
ENV PYTHONUNBUFFERED 1<commit_msg>Switching mod_wsgi install to pip<commit_after>FROM ubuntu
WORKDIR /app/
ADD docker/web/start.sh /start.sh
RUN chmod +x /start.sh
RUN mkdir /app/logs
RUN apt-get -y update && \
    apt-get -y install apache2 apache2-mpm-worker apache2-threaded-dev && \
    apt-get clean all

# Install system dependencies
RUN apt-get -y update && \
    apt-get install -y \
    git \
    hostname \
    openssl \
    sqlite3 \
    sudo \
    tar \
    curl \
    wget \
    python-setuptools \
    build-essential\
    python3.6-dev \
    libxml2-dev \
    libxmlsec1-dev \
    python-pip \
    libmysqlclient-dev

RUN wget https://bootstrap.pypa.io/get-pip.py
RUN python3 get-pip.py
RUN pip3 install --upgrade pip
RUN pip3 install mod_wsgi
RUN pip3 install boto3 watchtower
ENV PYTHONUNBUFFERED 1
{'fraction_non_alphanumeric': 0.09653794940079893, 'fraction_numerical': 0.017310252996005325, 'mean_word_length': 2.2392241379310347, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '2833732', 'n_tokens_mistral': 568, 'n_tokens_neox': 538, 'n_words': 148}