<commit_before># to build the image
#
#   sudo docker build -t simonsdave/gaming-spiders .
#
# for testing/debugging
#
#   sudo docker run -i -t simonsdave/gaming-spiders /bin/bash
#
# to push to dockerhub
#
#   sudo docker push simonsdave/gaming-spiders
#

FROM simonsdave/cloudfeaster

MAINTAINER <NAME>

RUN apt-get update -y
RUN apt-get install -y python
RUN apt-get install -y python-pip
RUN pip install pip==1.5.6

ADD gaming_spiders gaming_spiders
ADD setup.py .
ADD MANIFEST.in .

RUN python setup.py sdist --formats=gztar

RUN pip install --process-dependency-links dist/gaming_spiders-*.*.*.tar.gz<commit_msg>remove python install from Dockerfile<commit_after># to build the image
#
#   sudo docker build -t simonsdave/gaming-spiders .
#
# for testing/debugging
#
#   sudo docker run -i -t simonsdave/gaming-spiders /bin/bash
#
# to push to dockerhub
#
#   sudo docker push simonsdave/gaming-spiders
#

FROM simonsdave/cloudfeaster

MAINTAINER <NAME>

ADD gaming_spiders gaming_spiders
ADD setup.py .
ADD MANIFEST.in .

RUN python setup.py sdist --formats=gztar

RUN pip install --process-dependency-links dist/gaming_spiders-*.*.*.tar.gz
{'fraction_non_alphanumeric': 0.10017421602787456, 'fraction_numerical': 0.002613240418118467, 'mean_word_length': 3.807531380753138, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5843946', 'n_tokens_mistral': 436, 'n_tokens_neox': 411, 'n_words': 117}