<commit_before># Container for pithos - cassandra backed object store
# http://pithos.io https://github.com/exoscale/pithos

FROM alpine:edge
MAINTAINER <NAME> http://github.com/tcaxias

ENV \
    APK="apk --update --no-cache" \
    PKGS="openjdk8" \
    DEPS="wget" \
    PITHOS_VERSION="0.7.5"

WORKDIR /app

RUN \
    $APK add $PKGS $DEPS && \
    wget https://github.com/exoscale/pithos/releases/download/${PITHOS_VERSION}/pithos-${PITHOS_VERSION}-standalone.jar \
        -O /app/pithos.jar && \
    apk del $DEPS && \
    rm -rf /var/cache/apk

ADD pithos.yaml /app/

EXPOSE 8080
CMD [ "java", "-jar", "/app/pithos.jar", "-f", "/app/pithos.yaml" ]

ENV TERM="xterm"<commit_msg>Read config file from a different folder than application.<commit_after># Container for pithos - cassandra backed object store
# http://pithos.io https://github.com/exoscale/pithos

FROM alpine:edge
MAINTAINER <NAME> http://github.com/tcaxias

ENV \
    APK="apk --update --no-cache" \
    PKGS="openjdk8" \
    DEPS="wget" \
    PITHOS_VERSION="0.7.5"

WORKDIR /app

RUN \
    $APK add $PKGS $DEPS && \
    wget https://github.com/exoscale/pithos/releases/download/${PITHOS_VERSION}/pithos-${PITHOS_VERSION}-standalone.jar \
        -O /app/pithos.jar && \
    apk del $DEPS && \
    rm -rf /var/cache/apk

ADD pithos.yaml /conf/

EXPOSE 8080
CMD [ "java", "-jar", "/app/pithos.jar", "-f", "/conf/pithos.yaml" ]

ENV TERM="xterm"
{'fraction_non_alphanumeric': 0.17055909412597312, 'fraction_numerical': 0.01132342533616419, 'mean_word_length': 2.9277777777777776, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3259108', 'n_tokens_mistral': 585, 'n_tokens_neox': 562, 'n_words': 111}