<commit_before>DATE := $(shell date '+%Y%m%d')
IMAGETAG := 'andrewferrier/draw.io'

build:
	docker build -t $(IMAGETAG) .
	docker tag $(IMAGETAG) $(IMAGETAG):$(DATE)

run: build
	nohup docker run --rm -p 8080:80 --name draw.io $(IMAGETAG) &
	open 'http://localhost:8080/index.html?offline=1&https=0'<commit_msg>Add a sleep when running Docker image.<commit_after>DATE := $(shell date '+%Y%m%d')
IMAGETAG := 'andrewferrier/draw.io'

build:
	docker build -t $(IMAGETAG) .
	docker tag $(IMAGETAG) $(IMAGETAG):$(DATE)

run: build
	nohup docker run --rm -p 8080:80 --name draw.io $(IMAGETAG) &
	sleep 2
	open 'http://localhost:8080/index.html?offline=1&https=0'
{'fraction_non_alphanumeric': 0.18445121951219512, 'fraction_numerical': 0.038109756097560975, 'mean_word_length': 4.814159292035399, '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': '7635936', 'n_tokens_mistral': 291, 'n_tokens_neox': 266, 'n_words': 63}