<commit_before># Datawrapper Docker
Dockerfile and related build scripts for a docker image for datawrapper.

# To Run (After building)
- export env var DATAWRAPPER_SECURE_AUTH_KEY and expose appropriate ports (-p 0.0.0.0:80:80 if you like).
- if you'd like some fancier config options, some are available, but look through the various .tpl files to figure them out, will be documented when this is more mature.

# Caveats
 - Uses @rubensfernando's plugin-embed to allow embedding charts - not native as native is broken.
<commit_msg>update readme now that this is on docker hub<commit_after># Datawrapper Docker
Dockerfile and related build scripts for a docker image for datawrapper.

# To Pull
```bash
docker pull arahayrabedian/datawrapper:latest
```

# To Build
```bash
docker build .
```

# To Run
- export env var DATAWRAPPER_SECURE_AUTH_KEY and expose appropriate ports (-p 0.0.0.0:80:80 if you like).
- if you'd like some fancier config options, some are available, but look through the various .tpl files to figure them out, will be documented when this is more mature.
for example ```docker run -e DATAWRAPPER_SECURE_AUTH_KEY=slartibartfast -p 0.0.0.0:80:80 arahayrabedian/datawrapper:latest```

# Caveats
 - Uses @rubensfernando's plugin-embed to allow embedding charts - not native as native is broken.

{'fraction_non_alphanumeric': 0.07218844984802432, 'fraction_numerical': 0.0182370820668693, 'mean_word_length': 4.580508474576271, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 3, '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': '4949959', 'n_tokens_mistral': 414, 'n_tokens_neox': 384, 'n_words': 174}