<commit_before>FROM debian:jessie

ENV NGINX_VERSION 1.9.6
ENV NPS_VERSION=172.16.58.3

RUN echo "Pacific/Auckland" > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata

RUN apt-get update
RUN apt-get -y install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip wget

RUN cd /usr/src \
   && wget -q https://github.com/pagespeed/ngx_pagespeed/archive/release-${NPS_VERSION}-beta.zip \
   && unzip -qq release-${NPS_VERSION}-beta.zip \
   && cd ngx_pagespeed-release-${NPS_VERSION}-beta/ \
   && wget -q https://dl.google.com/dl/page-speed/psol/${NPS_VERSION}.tar.gz \
   && tar --no-samve-owner -xzf ${NPS_VERSION}.tar.gz  # extracts to psol/

RUN cd /usr/src \
    && wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz \
    && tar --no-samve-owner -xzf nginx-${NGINX_VERSION}.tar.gz \
    && cd nginx-${NGINX_VERSION}/ \
    && ./configure --add-module=/usr/src/ngx_pagespeed-release-${NPS_VERSION}-beta \
    && make \
    && make install

RUN ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx
RUN rm -rf /usr/src

RUN apt-get remove -y build-essential unzip wget --purge
RUN apt-get autoremove -y --purge

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]
<commit_msg>Fixed typo<commit_after>FROM debian:jessie

ENV NGINX_VERSION 1.9.6
ENV NPS_VERSION=172.16.58.3

RUN echo "Pacific/Auckland" > /etc/timezone
RUN dpkg-reconfigure -f noninteractive tzdata

RUN apt-get update
RUN apt-get -y install build-essential zlib1g-dev libpcre3 libpcre3-dev unzip wget

RUN cd /usr/src \
   && wget -q https://github.com/pagespeed/ngx_pagespeed/archive/release-${NPS_VERSION}-beta.zip \
   && unzip -qq release-${NPS_VERSION}-beta.zip \
   && cd ngx_pagespeed-release-${NPS_VERSION}-beta/ \
   && wget -q https://dl.google.com/dl/page-speed/psol/${NPS_VERSION}.tar.gz \
   && tar --no-same-owner -xzf ${NPS_VERSION}.tar.gz  # extracts to psol/

RUN cd /usr/src \
    && wget -q http://nginx.org/download/nginx-${NGINX_VERSION}.tar.gz \
    && tar --no-same-owner -xzf nginx-${NGINX_VERSION}.tar.gz \
    && cd nginx-${NGINX_VERSION}/ \
    && ./configure --add-module=/usr/src/ngx_pagespeed-release-${NPS_VERSION}-beta \
    && make \
    && make install

RUN ln -s /usr/local/nginx/sbin/nginx /usr/local/bin/nginx
RUN rm -rf /usr/src

RUN apt-get remove -y build-essential unzip wget --purge
RUN apt-get autoremove -y --purge

EXPOSE 80

CMD ["nginx", "-g", "daemon off;"]

{'fraction_non_alphanumeric': 0.16367432150313152, 'fraction_numerical': 0.013361169102296452, 'mean_word_length': 3.0887372013651877, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107926', 'n_tokens_mistral': 983, 'n_tokens_neox': 950, 'n_words': 193}