Merge pull request #2507 from michaelzangl/patch-1

Clarify how to build and run
This commit is contained in:
Tianon Gravi 2024-11-26 09:29:57 -08:00 committed by GitHub
commit c2749eb6e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 1 deletions

View File

@ -21,9 +21,10 @@ FROM %%IMAGE%%
COPY static-html-directory /usr/share/nginx/html
```
Place this file in the same directory as your directory of content ("static-html-directory"), run `docker build -t some-content-nginx .`, then start your container:
Place this file in the same directory as your directory of content ("static-html-directory"), then run these commands to build and start your container:
```console
$ docker build -t some-content-nginx .
$ docker run --name some-nginx -d some-content-nginx
```