From fc88d4fd3d467f4f9429355c8fd941eefab92d46 Mon Sep 17 00:00:00 2001 From: TwinProduction Date: Sun, 27 Oct 2019 21:17:55 -0400 Subject: [PATCH] Minor update --- README.md | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 92f80973..485bdfa5 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,21 @@ services: ``` +## Docker + +Building the Docker image is done as following: + +``` +docker build . -t gatus +``` + +You can then run the container with the following command: + +``` +docker run -p 8080:8080 --name gatus gatus +``` + + ## Running the tests ``` @@ -31,13 +46,6 @@ go test ./... -mod vendor ``` -## Building with Docker - -``` -docker build . -t gatus -``` - - ## Using in Production See the [example](example) folder.