updated readme to include making a .env to run dockerfile
This commit is contained in:
parent
70b4342abc
commit
3ed388bd6d
1 changed files with 13 additions and 1 deletions
14
README.md
14
README.md
|
@ -2,7 +2,19 @@
|
||||||
Check out the examples folder for some examples. I will add more soon.
|
Check out the examples folder for some examples. I will add more soon.
|
||||||
|
|
||||||
## Usage
|
## 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
|
pastebin_api_key
|
||||||
|
|
Loading…
Add table
Reference in a new issue