<commit_before>## Development and deployment With Docker

* Run with environment variables
| Name | Description
| ---- | -----------
| PORT | The port to use
| BACKEND_URL | Location of the translations backend

```bash
$ docker build -t translations-frontend .
$ docker run -e BACKEND_URL=http://192.168.99.100:49160 -e PORT=3001 -p 3001:3001 -d translation-frontend
```

* Production nginx run to can use the following

JSON Server Setup
```json
{"servers": [{"host": "192.168.99.100","port": "49160"}]}
```

```bash
$ docker build -f Dockerfile.prod -t translations-frontend .
$ docker run -e tiller_json='{"servers": [{"host": "192.168.99.100","port": "49160"}]}' -p 80:80 -d translation-frontend
```<commit_msg>fix readme because its bugging me<commit_after>## Development and deployment With Docker

* Run with environment variables

| Name | Description
| ---- | -----------
| PORT | The port to use
| BACKEND_URL | Location of the translations backend

```bash
$ docker build -t translations-frontend .
$ docker run -e BACKEND_URL=http://192.168.99.100:49160 -e PORT=3001 -p 3001:3001 -d translation-frontend
```

* Production nginx run to can use the following

JSON Server Setup
```json
{"servers": [{"host": "192.168.99.100","port": "49160"}]}
```

```bash
$ docker build -f Dockerfile.prod -t translations-frontend .
$ docker run -e tiller_json='{"servers": [{"host": "192.168.99.100","port": "49160"}]}' -p 80:80 -d translation-frontend
```
{'fraction_non_alphanumeric': 0.1775636613902271, 'fraction_numerical': 0.088093599449415, 'mean_word_length': 4.066202090592334, 'pattern_counts': {'":': 12, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 6, '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': '1707800', 'n_tokens_mistral': 581, 'n_tokens_neox': 462, 'n_words': 149}