<commit_before>## oauth2_proxy Dockerfile


This repository contains **Dockerfile** of [oauth2_proxy](https://github.com/bitly/oauth2_proxy/) for [Docker](https://www.docker.com/).


### Base Docker Image

* [golang](https://hub.docker.com/_/golang/)


### Installation

1. Install [Docker](https://www.docker.com/).

2. Download [build](https://registry.hub.docker.com/u/crate/oauth2_proxy/) from public [Docker Hub Registry](https://registry.hub.docker.com/): `docker pull crate/oauth2_proxy`

   (alternatively, you can build an image from Dockerfile: `docker build -t="crate/oauth2_proxy" github.com/crate/docker-oauth2_proxy`)


### Usage

    create a file <config-dir>/oauth2_proxy.cfg for configuration

    docker run -d -p 4180:4180 -v <config-dir>:/conf crate/oauth2_proxy<commit_msg>alter docs reg. docker registry<commit_after>## Dockerfile For The oauth2_proxy


This repository contains a Dockerfile for the Bitly
[oauth2_proxy](https://github.com/bitly/oauth2_proxy/).


### Usage

Create a file <config-dir>/oauth2_proxy.cfg for configuration. Start a docker
container with the configuration mounted:

```bash
docker run -d -p 4180:4180 -v <config-dir>:/conf registry.cr8.net/crate/oauth2_proxy
```


### Deployment

Building a docker image:

```bash
docker build -t registry.cr8.net/crate/oauth2_proxy:latest .
```

Pushing the image to the registry:

```bash
docker push registry.cr8.net/crate/oauth2_proxy:latest
```


{'fraction_non_alphanumeric': 0.13977746870653684, 'fraction_numerical': 0.02573018080667594, 'mean_word_length': 4.62109375, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 7, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1388305', 'n_tokens_mistral': 533, 'n_tokens_neox': 478, 'n_words': 118}