From 3c37b9da628ac4f31ba3dc7f446fdde2ac409286 Mon Sep 17 00:00:00 2001 From: Nathan Woodburn Date: Mon, 11 Sep 2023 22:13:06 +1000 Subject: [PATCH] readme: Added usage --- README.md | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 1cd0530..8af5a34 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,13 @@ # nginx -This is a simple nginx container that adds the function to visit pages without needing to add the .html extension. \ No newline at end of file +This is a simple nginx container that adds the function to visit pages without needing to add the .html extension. + +## Usage +AMD: +```sh +docker run -d -p 80:80 -v /path/to/your/html:/usr/share/nginx/html:ro --name nginx git.woodburn.au/nginx:latest +``` + +ARM: +```sh +docker run -d -p 80:80 -v /path/to/your/html:/usr/share/nginx/html:ro --name nginx git.woodburn.au/nginx:latest-arm +``` \ No newline at end of file