<commit_before># Use the AWS Elastic Beanstalk Python 3.4 image
FROM amazon/aws-eb-python:3.4.2-onbuild-3.5.1
MAINTAINER <NAME> <<EMAIL>>

#RUN locale-gen en_US.UTF-8
#ENV LANG en_US.UTF-8
#ENV LANGUAGE en_US:en
#ENV LC_ALL en_US.UTF-8

ENV YASM_VERSION    1.3.0

RUN echo deb http://archive.ubuntu.com/ubuntu precise universe multiverse >> /etc/apt/sources.list; \
    apt-get update -qq && apt-get install -y --force-yes \
    autoconf \
    automake \
    build-essential \
    cmake \
    curl \
    git \
    libass-dev \
    libgpac-dev \
    libmp3lame-dev \
    libfaac-dev \
    libfontconfig-dev \
    libfreetype6-dev \
    libfribidi-dev \
    libjpeg-dev \
    libpng-dev \
    libpq-dev \
    libtheora-dev \
    libtiff5-dev \
    libtool \
    libvdpau-dev \
    libvorbis-dev \
    mercurial \
    pkg-config \
    postgresql \
    texi2html \
    unzip \
    wget \
    zlib1g-dev; \
    apt-get clean

# Step 1: Build FFMPEG and related plugins
# ----------------------------------------

COPY          build.sh /tmp/build.sh
RUN           bash /tmp/build.sh

# Exposes port 8080
EXPOSE 8080

ENV PYTHONPATH $PYTHONPATH:/var/app
ENV DJANGO_SETTINGS_MODULE=settings.production<commit_msg>Remove DJANGO_SETTINGS_MODULE env variable<commit_after># Use the AWS Elastic Beanstalk Python 3.4 image
FROM amazon/aws-eb-python:3.4.2-onbuild-3.5.1
MAINTAINER <NAME> <<EMAIL>>

#RUN locale-gen en_US.UTF-8
#ENV LANG en_US.UTF-8
#ENV LANGUAGE en_US:en
#ENV LC_ALL en_US.UTF-8

ENV YASM_VERSION    1.3.0

RUN echo deb http://archive.ubuntu.com/ubuntu precise universe multiverse >> /etc/apt/sources.list; \
    apt-get update -qq && apt-get install -y --force-yes \
    autoconf \
    automake \
    build-essential \
    cmake \
    curl \
    git \
    libass-dev \
    libgpac-dev \
    libmp3lame-dev \
    libfaac-dev \
    libfontconfig-dev \
    libfreetype6-dev \
    libfribidi-dev \
    libjpeg-dev \
    libpng-dev \
    libpq-dev \
    libtheora-dev \
    libtiff5-dev \
    libtool \
    libvdpau-dev \
    libvorbis-dev \
    mercurial \
    pkg-config \
    postgresql \
    texi2html \
    unzip \
    wget \
    zlib1g-dev; \
    apt-get clean

# Step 1: Build FFMPEG and related plugins
# ----------------------------------------

COPY          build.sh /tmp/build.sh
RUN           bash /tmp/build.sh

# Exposes port 8080
EXPOSE 8080

ENV PYTHONPATH $PYTHONPATH:/var/app
{'fraction_non_alphanumeric': 0.13533834586466165, 'fraction_numerical': 0.023391812865497075, 'mean_word_length': 1.8890229191797345, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, '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': '1583218', 'n_tokens_mistral': 951, 'n_tokens_neox': 908, 'n_words': 194}