File tree Expand file tree Collapse file tree 3 files changed +23
-4
lines changed
Expand file tree Collapse file tree 3 files changed +23
-4
lines changed Original file line number Diff line number Diff line change 6262 Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
6363
6464 ${{ steps.changelog.outputs.changelog }}
65+
66+ ## Docker
67+
68+ 通过 Docker 快速简单的部署文档网站。
69+
70+ ```bash
71+ docker pull wcjiang/html-tutorial
72+ ```
73+
74+ ```bash
75+ docker run --name html-tutorial --rm -d -p 9665:80 wcjiang/html-tutorial:latest
76+ # Or
77+ docker run --name html-tutorial -itd -p 9665:80 wcjiang/html-tutorial:latest
78+ ```
79+
80+ 在浏览器中访问以下 URL
81+
82+ ```bash
83+ http://localhost:9665/
6584 ```
6685
6786 # Create Docker Image
Original file line number Diff line number Diff line change @@ -112,15 +112,15 @@ docker pull wcjiang/html-tutorial
112112```
113113
114114``` bash
115- docker run --name html-tutorial --rm -d -p 9666 :80 wcjiang/html-tutorial:latest
115+ docker run --name html-tutorial --rm -d -p 9665 :80 wcjiang/html-tutorial:latest
116116# Or
117- docker run --name html-tutorial -itd -p 9666 :80 wcjiang/html-tutorial:latest
117+ docker run --name html-tutorial -itd -p 9665 :80 wcjiang/html-tutorial:latest
118118```
119119
120120在浏览器中访问以下 URL
121121
122122``` bash
123- http://localhost:9666 /
123+ http://localhost:9665 /
124124```
125125
126126## Contributors
Original file line number Diff line number Diff line change 55 "title" : " HTML Tutorial" ,
66 "description" : " HTML(超文本标记语言——HyperText Markup Language)是构成 Web 世界的一砖一瓦。它定义了网页内容的含义和结构。" ,
77 "license" : " MIT" ,
8- "version" : " 0.0.1 " ,
8+ "version" : " 0.0.2 " ,
99 "scripts" : {
1010 "start" : " idoc --watch" ,
1111 "build" : " idoc"
You can’t perform that action at this time.
0 commit comments