<commit_before>FROM python:3.5.1-slim
MAINTAINER rubik

WORKDIR /usr/src/app

RUN apt-get update && \
  apt-get install -y python2.7 python-pip && \
  apt-get clean

COPY tox_requirements.txt /usr/src/app/
RUN pip install --quiet --requirement tox_requirements.txt
RUN pip2 install --quiet --requirement tox_requirements.txt

RUN adduser -u 9000 app

COPY . /usr/src/app
RUN pip install --quiet . && \
  mv /usr/local/bin/radon /usr/local/bin/radon3
RUN pip2 install --quiet . && \
  mv /usr/local/bin/radon /usr/local/bin/radon2

WORKDIR /code

USER app

VOLUME /code

CMD ["/usr/src/app/codeclimate-radon"]<commit_msg>chore(docker): update Dockerfile (#102)<commit_after>FROM alpine:edge
MAINTAINER rubik

WORKDIR /usr/src/app
COPY . /usr/src/app

RUN apk --update add \
  python2 python3 py2-pip && \
  pip2 install --upgrade pip && \
  pip2 install --requirement tox_requirements.txt && \
  pip2 install . && \
  mv /usr/bin/radon /usr/bin/radon2 && \
  pip3 install --requirement tox_requirements.txt && \
  pip3 install . && \
  mv /usr/bin/radon /usr/bin/radon3 && \
  rm /var/cache/apk/*

RUN adduser -u 9000 app -D
USER app

WORKDIR /code

VOLUME /code

CMD ["/usr/src/app/codeclimate-radon"]
{'fraction_non_alphanumeric': 0.13821815154038303, 'fraction_numerical': 0.02497918401332223, 'mean_word_length': 2.9281045751633985, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6215724', 'n_tokens_mistral': 490, 'n_tokens_neox': 454, 'n_words': 115}