<commit_before>FROM python:2.7

MAINTAINER <NAME> version: 0.1
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements /tmp/requirements/
RUN pip install -r /tmp/requirements/production.txt && rm -rf /tmp/requirements
RUN curl -sL https://deb.nodesource.com/setup_6.x | bash - && apt-get install -y  nodejs binutils libproj-dev gdal-bin libgeoip1 libgeos-c1 && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN mkdir /npm
ADD openprescribing/media/js /npm/
RUN ls -l /npm/
# Install npm outside the location where we'll eventually install the<commit_msg>Upgrade node to fix npm install errors<commit_after>FROM python:2.7

MAINTAINER <NAME> version: 0.1
ENV PYTHONUNBUFFERED 1
RUN mkdir /code
WORKDIR /code
ADD requirements /tmp/requirements/
RUN pip install -r /tmp/requirements/production.txt && rm -rf /tmp/requirements
RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - && apt-get install -y  nodejs binutils libproj-dev gdal-bin libgeoip1 libgeos-c1v5 && apt-get clean && rm -rf /var/lib/apt/lists/*
RUN mkdir /npm
ADD openprescribing/media/js /npm/
RUN ls -l /npm/
# Install npm outside the location where we'll eventually install the
{'fraction_non_alphanumeric': 0.10843373493975904, 'fraction_numerical': 0.01549053356282272, 'mean_word_length': 3.9071729957805905, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 2, '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': '2160423', 'n_tokens_mistral': 422, 'n_tokens_neox': 391, 'n_words': 133}