<commit_before><commit_msg>Create build.sh<commit_after>#!/bin/bash
#
# This script compiles the opentracker project and builds a docker image

git submodule update --init --recursive
git submodule foreach git pull origin master
rm opentracker

cp Makefile opentracker
docker build -t ephillipe/opentracker .

# docker run --name ot ephillipe/opentracker:latest /bin/sh
# docker cp ot:/tmp/opentracker/opentracker ..
# docker rmi opentracker
#
# cd ..
#
# docker build -t ephillipe/opentracker .
# docker run --name ot  -e REDIRECT_URL=http://google.com -p 6969:6969 ephillipe/opentracker
# docker rm -f ot
{'fraction_non_alphanumeric': 0.09570957095709572, 'fraction_numerical': 0.013201320132013201, 'mean_word_length': 4.188034188034188, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6210447', 'n_tokens_mistral': 219, 'n_tokens_neox': 210, 'n_words': 64}