readme: Added usage
This commit is contained in:
parent
c9852f487c
commit
3c37b9da62
11
README.md
11
README.md
@ -1,2 +1,13 @@
|
|||||||
# nginx
|
# nginx
|
||||||
This is a simple nginx container that adds the function to visit pages without needing to add the .html extension.
|
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
|
||||||
|
```
|
Loading…
Reference in New Issue
Block a user