From 861fa49681dde70ca08559cc35bd4f2593b6ee78 Mon Sep 17 00:00:00 2001 From: unknown Date: Sat, 26 Oct 2019 00:40:18 +0700 Subject: [PATCH] update readme --- README.md | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index ec8218f..e1e9c45 100644 --- a/README.md +++ b/README.md @@ -21,12 +21,18 @@ https://api.telegram.org/bot/getUpdates ``` ![alt text](./screenshot-get-chat_id.png) -### Build Docker Images +### How to Dockerize +- #### Run Redis ```bash -$ docker build -t oshi-stories . +$ docker run -it -d -p 6379:6379 redis ``` -### Run Docker Container +- #### Build Images ```bash -$ docker run -it --rm --name oshi-stories-container -d oshi-stories +$ docker build -t muhbayu/oshi-stories . +``` + +- #### Run Container +```bash +$ docker run -it --rm --name oshi-stories -d muhbayu/oshi-stories ``` \ No newline at end of file