瀏覽代碼

Merge pull request #2507 from michaelzangl/patch-1

Clarify how to build and run
Tianon Gravi 11 月之前
父節點
當前提交
c2749eb6e6
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      nginx/content.md

+ 2 - 1
nginx/content.md

@@ -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
 ```