From 95effa7859d760fa10f06c5da91a589d19bb6352 Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Tue, 18 Apr 2023 17:17:43 -0700 Subject: [PATCH] Add installation instructions Fixes #11 --- README.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/README.md b/README.md index e8b6938..8db1fdc 100644 --- a/README.md +++ b/README.md @@ -2,6 +2,20 @@ A set of [pre-commit](http://pre-commit.com) hooks for Docker services +# Installation + +Add the following to your `.pre-commit-config.yaml` file + +```yaml + - repo: https://github.com/iamthefij/docker-pre-commit + rev: master + hooks: + - id: docker-compose-check +``` + +and then run `pre-commit autoupdate`. + + ## Hooks ### docker-compose-check