<commit_before>FROM texastribune/gunicorn
MAINTAINER <EMAIL>

RUN apt-get update

ADD requirements /app/requirements/
RUN pip install -r /app/requirements/base.txt
RUN pip install -r /app/requirements/production.txt

# ruby for SASS
# node for bower
# git for bower
RUN apt-get -yq install nodejs npm nodejs-legacy ruby git
RUN npm install -g bower
RUN gem install --no-ri --no-rdoc sass

ADD bower.json /app/
RUN bower --allow-root install

RUN npm install -g gulp
ADD package.json /app/
RUN npm install

ADD . /app/
ADD gulpfile.js /app/
RUN gulp build:deploy

ENV DJANGO_SETTINGS_MODULE txlege84.settings.production
ENV SECRET_KEY quux
RUN python txlege84/manage.py validate
RUN python txlege84/manage.py collectstatic --noinput
ADD txlege84/txlege84/wsgi.py /app/
<commit_msg>AWS VPC doesn't like git-style URLs apparently<commit_after>FROM texastribune/gunicorn
MAINTAINER <EMAIL>

RUN apt-get update

ADD requirements /app/requirements/
RUN pip install -r /app/requirements/base.txt
RUN pip install -r /app/requirements/production.txt

# ruby for SASS
# node for bower
# git for bower
RUN apt-get -yq install nodejs npm nodejs-legacy ruby git
RUN npm install -g bower
RUN gem install --no-ri --no-rdoc sass

RUN git config --global url."https://".insteadOf git://

ADD bower.json /app/
RUN bower --allow-root install

RUN npm install -g gulp
ADD package.json /app/
RUN npm install

ADD . /app/
ADD gulpfile.js /app/
RUN gulp build:deploy

ENV DJANGO_SETTINGS_MODULE txlege84.settings.production
ENV SECRET_KEY quux
RUN python txlege84/manage.py validate
RUN python txlege84/manage.py collectstatic --noinput
ADD txlege84/txlege84/wsgi.py /app/

{'fraction_non_alphanumeric': 0.08484848484848485, 'fraction_numerical': 0.012121212121212121, 'mean_word_length': 3.870206489675516, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, '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': '2386814', 'n_tokens_mistral': 599, 'n_tokens_neox': 563, 'n_words': 198}