<commit_before>FROM python:3.6

WORKDIR /wwwroot
COPY impact /wwwroot
COPY scripts/start.sh /usr/bin
COPY scripts/start-nodaemon.sh /usr/bin

COPY scripts/mysqlwait.sh /usr/bin

# python2.7 is required to run supervisor
RUN apt-get update -y && apt-get install -y \
    gettext \
    mysql-client \
    netcat \
    nginx \
    python-setuptools \
    python2.7 \
    && rm -rf /var/lib/apt/lists/*

# Install remote_syslog2 to talk to papertrail
RUN cd /tmp/ && curl -LOs https://github.com/papertrail/remote_syslog2/releases/download/v0.20/remote-syslog2_0.20_amd64.deb
RUN dpkg -i /tmp/remote-syslog2_0.20_amd64.deb

# Copy config files after installation so installers don't get tripped up
COPY log_files.yml /etc/log_files.yml
COPY nginx/nginx.conf /etc/nginx

RUN pip install --upgrade pip
RUN easy_install-2.7 supervisor
RUN useradd -s /bin/bash -u 3000 -m impact_user
RUN pip3 install -r /wwwroot/requirements/travis.txt

ARG DJANGO_ACCELERATOR_REVISION=development
pip3 install git+https://github.com/masschallenge/django-accelerator.git@${DJANGO_ACCELERATOR_REVISION}#egg=django-accelerator

RUN chown impact_user /usr/bin/start.sh
RUN chown -R impact_user /wwwroot
RUN chown -R impact_user /home/impact_user

USER impact_user
ENV PYTHONUNBUFFERED 1
EXPOSE 8000

CMD ["/bin/bash", "/usr/bin/start.sh"]<commit_msg>[AC-5457] fix command typo - add RUN at start of line.<commit_after>FROM python:3.6

WORKDIR /wwwroot
COPY impact /wwwroot
COPY scripts/start.sh /usr/bin
COPY scripts/start-nodaemon.sh /usr/bin

COPY scripts/mysqlwait.sh /usr/bin

# python2.7 is required to run supervisor
RUN apt-get update -y && apt-get install -y \
    gettext \
    mysql-client \
    netcat \
    nginx \
    python-setuptools \
    python2.7 \
    && rm -rf /var/lib/apt/lists/*

# Install remote_syslog2 to talk to papertrail
RUN cd /tmp/ && curl -LOs https://github.com/papertrail/remote_syslog2/releases/download/v0.20/remote-syslog2_0.20_amd64.deb
RUN dpkg -i /tmp/remote-syslog2_0.20_amd64.deb

# Copy config files after installation so installers don't get tripped up
COPY log_files.yml /etc/log_files.yml
COPY nginx/nginx.conf /etc/nginx

RUN pip install --upgrade pip
RUN easy_install-2.7 supervisor
RUN useradd -s /bin/bash -u 3000 -m impact_user
RUN pip3 install -r /wwwroot/requirements/travis.txt

ARG DJANGO_ACCELERATOR_REVISION=development
RUN pip3 install git+https://github.com/masschallenge/django-accelerator.git@${DJANGO_ACCELERATOR_REVISION}#egg=django-accelerator

RUN chown impact_user /usr/bin/start.sh
RUN chown -R impact_user /wwwroot
RUN chown -R impact_user /home/impact_user

USER impact_user
ENV PYTHONUNBUFFERED 1
EXPOSE 8000

CMD ["/bin/bash", "/usr/bin/start.sh"]
{'fraction_non_alphanumeric': 0.10293571163136381, 'fraction_numerical': 0.028242289111854328, 'mean_word_length': 3.7646017699115046, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 4, 'lorem ipsum': 0, 'www.': 8, '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': '4082102', 'n_tokens_mistral': 1062, 'n_tokens_neox': 970, 'n_words': 251}