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.