<commit_before>## nginx-php Dockerfile

This repository contains source code of [janus1990/docker-nginx-php/](https://hub.docker.com/r/janus1990/docker-nginx-php/).

## Content

Nginx and PHP are compiled in a specific version. Consult the [CHANGELOG.md](./CHANGELOG.md) file
for further version details. [PHP Composer](https://getcomposer.org/) is already installed and ready
for use.

The Nginx and PHP-FPM master processes are controlled by [Honcho](https://github.com/nickstenning/honcho).
Honcho was chosen over Supervisor, because honcho will exit and kill the container if either Nginx
or PHP's master process dye for any reason. If you want have to have the container restarted
automatically, you may want to use
[Docker's restart](https://docs.docker.com/engine/reference/run/#restart-policies---restart) policy.

## Usage

```bash
docker run -v /path/to/php/source/:/usr/local/nginx/html/ janus1990/docker-nginx-php
<commit_msg>Fix trailing slash in link<commit_after>## nginx-php Dockerfile

This repository contains source code of [janus1990/docker-nginx-php](https://hub.docker.com/r/janus1990/docker-nginx-php/).

## Content

Nginx and PHP are compiled in a specific version. Consult the [CHANGELOG.md](./CHANGELOG.md) file
for further version details. [PHP Composer](https://getcomposer.org/) is already installed and ready
for use.

The Nginx and PHP-FPM master processes are controlled by [Honcho](https://github.com/nickstenning/honcho).
Honcho was chosen over Supervisor, because honcho will exit and kill the container if either Nginx
or PHP's master process dye for any reason. If you want have to have the container restarted
automatically, you may want to use
[Docker's restart](https://docs.docker.com/engine/reference/run/#restart-policies---restart) policy.

## Usage

```bash
docker run -v /path/to/php/source/:/usr/local/nginx/html/ janus1990/docker-nginx-php

{'fraction_non_alphanumeric': 0.10963983050847458, 'fraction_numerical': 0.012711864406779662, 'mean_word_length': 4.622023809523809, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 8, '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': '1610492', 'n_tokens_mistral': 615, 'n_tokens_neox': 566, 'n_words': 196}