updated readme to include making a .env to run dockerfile

This commit is contained in:
Brendan McDevitt 2019-04-06 01:51:59 -05:00
parent 70b4342abc
commit 3ed388bd6d

View file

@ -2,7 +2,19 @@
Check out the examples folder for some examples. I will add more soon.
## Usage
Set the following environment variables:
### Configuration
### Docker
- build the image:
```shell
docker build -t pastebinner .
```
- run the image:
```shell
docker run -it --env-file .env --network="host" pastebinner
```
Set the following environment variables and source them:
```
pastebin_api_key