<commit_before>FROM python:3.6-slim-stretch

MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get install -y build-essential python3-dev libi2c-dev python3-smbus

ADD .env /var/rovercode/.env
ADD pytest.ini /var/rovercode/pytest.ini
ADD requirements.txt /var/rovercode/requirements.txt
ADD Adafruit_Python_GPIO /var/rovercode/Adafruit_Python_GPIO
ADD rovercode /var/rovercode/rovercode

WORKDIR /var/rovercode
RUN pip install -r requirements.txt

WORKDIR /var/rovercode/Adafruit_Python_GPIO
RUN python setup.py install
WORKDIR /var/rovercode/rovercode
RUN echo 'python3.6 app.py' > /usr/bin/run.sh
ENTRYPOINT ["bash", "/usr/bin/run.sh"]<commit_msg>Add GrovePi setup to Dockerfile<commit_after>FROM python:3.6-slim-stretch

MAINTAINER <NAME> <<EMAIL>>

RUN apt-get update
RUN apt-get install -y build-essential python3-dev libi2c-dev python3-smbus

ADD .env /var/rovercode/.env
ADD pytest.ini /var/rovercode/pytest.ini
ADD requirements.txt /var/rovercode/requirements.txt
ADD Adafruit_Python_GPIO /var/rovercode/Adafruit_Python_GPIO
ADD GrovePi /var/rovercode/GrovePi
ADD rovercode /var/rovercode/rovercode

WORKDIR /var/rovercode
RUN pip install -r requirements.txt

WORKDIR /var/rovercode/Adafruit_Python_GPIO
RUN python setup.py install
WORKDIR /var/rovercode/GrovePi/Software/Python
RUN python setup.py install
WORKDIR /var/rovercode/rovercode
RUN echo 'python3.6 app.py' > /usr/bin/run.sh
ENTRYPOINT ["bash", "/usr/bin/run.sh"]
{'fraction_non_alphanumeric': 0.10639777468706536, 'fraction_numerical': 0.009735744089012517, 'mean_word_length': 4.873469387755102, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, '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': '39844', 'n_tokens_mistral': 556, 'n_tokens_neox': 528, 'n_words': 120}