<commit_before>FROM        alpine:3.10.2
MAINTAINER  <NAME>
RUN         apk update \
            && addgroup -g 10000 cowbull_g \
            && mkdir /cowbull \
            && adduser -u 10000 -G cowbull_g --disabled-password --home /cowbull cowbull \
            && chown cowbull /cowbull \
            && apk add --update \
                curl \
                musl \
                python3 \
                py3-pip \
            && curl -Lo /tmp/curl-7.65.3-r0.apk http://dl-3.alpinelinux.org/alpine/edge/main/x86_64/curl-7.65.3-r0.apk \
            && apk add /tmp/curl-7.65.3-r0.apk \
            && curl -Lo /tmp/musl-1.1.23-r3.apk http://dl-3.alpinelinux.org/alpine/edge/main/x86_64/musl-1.1.23-r3.apk \
            && apk add /tmp/musl-1.1.23-r3.apk
WORKDIR     /cowbull
COPY        requirements.txt /cowbull
RUN         pip3 install --upgrade pip \
            && pip3 install -q setuptools \
            && pip3 install -q -r /cowbull/requirements.txt

USER        cowbull
ENV         PYTHONPATH="/cowbull"
COPY        extensions /cowbull/extensions/
COPY        flask_controllers /cowbull/flask_controllers/
COPY        flask_helpers /cowbull/flask_helpers
COPY        Game    /cowbull/Game/
COPY        Persistence /cowbull/Persistence/
COPY        PersistenceExtensions /cowbull/PersistenceExtensions/
COPY        python_cowbull_server /cowbull/python_cowbull_server/
COPY        Routes /cowbull/Routes
COPY        unittests /cowbull/unittests
COPY        systests /cowbull/systests
COPY        healthcheck /cowbull/healthcheck/
COPY        *.py  /cowbull/
COPY        LICENSE /cowbull/
COPY        entrypoint.sh /cowbull/

USER        root
RUN         chmod +x \
                /cowbull/healthcheck/healthcheck.sh \
                /cowbull/healthcheck/liveness.sh \
                /cowbull/entrypoint.sh
USER        cowbull

ENTRYPOINT [ "/cowbull/entrypoint.sh" ]
EXPOSE      8080
HEALTHCHECK \
    --interval=10s \
    --timeout=5s \<commit_msg>Modify pip install remove quiet<commit_after>FROM        alpine:3.10.2
MAINTAINER  <NAME>
RUN         apk update \
            && addgroup -g 10000 cowbull_g \
            && mkdir /cowbull \
            && adduser -u 10000 -G cowbull_g --disabled-password --home /cowbull cowbull \
            && chown cowbull /cowbull \
            && apk add --update \
                curl \
                musl \
                python3 \
                py3-pip \
            && curl -Lo /tmp/curl-7.65.3-r0.apk http://dl-3.alpinelinux.org/alpine/edge/main/x86_64/curl-7.65.3-r0.apk \
            && apk add /tmp/curl-7.65.3-r0.apk \
            && curl -Lo /tmp/musl-1.1.23-r3.apk http://dl-3.alpinelinux.org/alpine/edge/main/x86_64/musl-1.1.23-r3.apk \
            && apk add /tmp/musl-1.1.23-r3.apk
WORKDIR     /cowbull
COPY        requirements.txt /cowbull
RUN         pip3 install --upgrade pip
RUN         pip3 install -r /cowbull/requirements.txt

USER        cowbull
ENV         PYTHONPATH="/cowbull"
COPY        extensions /cowbull/extensions/
COPY        flask_controllers /cowbull/flask_controllers/
COPY        flask_helpers /cowbull/flask_helpers
COPY        Game    /cowbull/Game/
COPY        Persistence /cowbull/Persistence/
COPY        PersistenceExtensions /cowbull/PersistenceExtensions/
COPY        python_cowbull_server /cowbull/python_cowbull_server/
COPY        Routes /cowbull/Routes
COPY        unittests /cowbull/unittests
COPY        systests /cowbull/systests
COPY        healthcheck /cowbull/healthcheck/
COPY        *.py  /cowbull/
COPY        LICENSE /cowbull/
COPY        entrypoint.sh /cowbull/

USER        root
RUN         chmod +x \
                /cowbull/healthcheck/healthcheck.sh \
                /cowbull/healthcheck/liveness.sh \
                /cowbull/entrypoint.sh
USER        cowbull

ENTRYPOINT [ "/cowbull/entrypoint.sh" ]
EXPOSE      8080
HEALTHCHECK \
    --interval=10s \
    --timeout=5s \
{'fraction_non_alphanumeric': 0.10297131147540983, 'fraction_numerical': 0.03355532786885246, 'mean_word_length': 1.6120401337792643, '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': '3243745', 'n_tokens_mistral': 1453, 'n_tokens_neox': 1319, 'n_words': 256}