<commit_before><commit_msg>Dockerfile for building with Ant. Support using VOLUME for wallet data.<commit_after>FROM webratio/ant:1.9.4

ENV VERSION 0.1

RUN apt-get update && apt-get install -y moreutils

ADD . /usr/src/walletd

RUN cd /usr/src/walletd && sh build.sh

RUN mkdir /usr/src/data
WORKDIR /usr/src/data
VOLUME ["/usr/src/data"]

EXPOSE 8332 8333 18332 18333
RUN cp /usr/src/walletd/*net.conf /usr/src/data

RUN printf "cp /usr/src/walletd/*net.conf /usr/src/data/\n" >> /usr/src/walletd/docker-entry.sh && \
    printf "java -cp /usr/src/walletd/build/jar/Walletd.jar:/usr/src/walletd/lib/* fi.bittiraha.walletd.Main 2>&1" >> /usr/src/walletd/docker-entry.sh && \
    printf " | ts | tee /usr/src/data/debug.log" >> /usr/src/walletd/docker-entry.sh

CMD [ "sh", "/usr/src/walletd/docker-entry.sh" ]

{'fraction_non_alphanumeric': 0.1687192118226601, 'fraction_numerical': 0.03078817733990148, 'mean_word_length': 3.3015873015873014, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 10, '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': '7672860', 'n_tokens_mistral': 343, 'n_tokens_neox': 333, 'n_words': 66}