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 62
62
Comparing Changes: ${{ steps.changelog.outputs.compareurl }}
63
63
64
64
${{ 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/
65
84
```
66
85
67
86
# Create Docker Image
Original file line number Diff line number Diff line change @@ -112,15 +112,15 @@ docker pull wcjiang/html-tutorial
112
112
```
113
113
114
114
``` 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
116
116
# 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
118
118
```
119
119
120
120
在浏览器中访问以下 URL
121
121
122
122
``` bash
123
- http://localhost:9666 /
123
+ http://localhost:9665 /
124
124
```
125
125
126
126
## Contributors
Original file line number Diff line number Diff line change 5
5
"title" : " HTML Tutorial" ,
6
6
"description" : " HTML(超文本标记语言——HyperText Markup Language)是构成 Web 世界的一砖一瓦。它定义了网页内容的含义和结构。" ,
7
7
"license" : " MIT" ,
8
- "version" : " 0.0.1 " ,
8
+ "version" : " 0.0.2 " ,
9
9
"scripts" : {
10
10
"start" : " idoc --watch" ,
11
11
"build" : " idoc"
You can’t perform that action at this time.
0 commit comments