Skip to content

Commit

Permalink
Merge pull request #2507 from michaelzangl/patch-1
Browse files Browse the repository at this point in the history
Clarify how to build and run
  • Loading branch information
tianon authored Nov 26, 2024
2 parents 68d4ce7 + c543d87 commit c2749eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nginx/content.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
```

Expand Down

0 comments on commit c2749eb

Please sign in to comment.