Add docker as installation option (#23)

* Add docker as installation option

* Add newline to Dockerfile

* Fix example typo

* Add code review fixes
This commit is contained in:
Ilya Kaznacheev 2022-11-19 12:18:24 +04:00 committed by GitHub
parent a95a0d1325
commit d08195507e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 22 additions and 0 deletions

View file

@ -118,6 +118,17 @@ Install [devbox](https://github.com/jetpack-io/devbox), which is a wrapper for n
devbox shell
```
### Docker
Install [Docker](https://docs.docker.com/get-docker/).
Build and run the app within the container:
```bash
docker build . -t extract_otp
docker run --rm -v "$(pwd)":/files:ro extract_otp -p example_export.txt
```
## Tests
### PyTest