From 3ed388bd6d5fc7a282927bb72d2ce9d070a269f5 Mon Sep 17 00:00:00 2001 From: bpmcdevitt Date: Sat, 6 Apr 2019 01:51:59 -0500 Subject: [PATCH] updated readme to include making a .env to run dockerfile --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index b560cf1..51be8ee 100644 --- a/README.md +++ b/README.md @@ -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