<commit_before>FROM python:3.6-alpine

WORKDIR /app

ENV BUILD_LIST git

RUN apk add --update $BUILD_LIST \
    && git clone https://github.com/dvf/blockchain.git /app \
    && pip install pipenv \
    && pipenv --python=python3.6 \
    && pipenv install \
    && apk del $BUILD_LIST \
    && rm -rf /var/cache/apk/*

EXPOSE 5000

ENTRYPOINT [ "pipenv", "run", "python", "/app/blockchain.py", "--port", "5000"  ]<commit_msg>Build Dockerfile using local code instead of pulling the GitHub repo<commit_after>FROM python:3.6-alpine

WORKDIR /app

ENV BUILD_LIST git

COPY blockchain.py Pipfile /app/

RUN apk add --update $BUILD_LIST \
    && pip install pipenv \
    && pipenv --python=python3.6 \
    && pipenv install \
    && apk del $BUILD_LIST \
    && rm -rf /var/cache/apk/*

EXPOSE 5000

ENTRYPOINT [ "pipenv", "run", "python", "/app/blockchain.py", "--port", "5000"  ]
{'fraction_non_alphanumeric': 0.15314285714285714, 'fraction_numerical': 0.027428571428571427, 'mean_word_length': 2.8933333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1711845', 'n_tokens_mistral': 333, 'n_tokens_neox': 307, 'n_words': 86}