Skip to content

Commit bcd06d5

Browse files
committed
[refine] refine description.
1 parent 32d768d commit bcd06d5

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

docs/deploy.md

+10-12
Original file line numberDiff line numberDiff line change
@@ -139,19 +139,17 @@ frontend:
139139

140140
## Docker
141141

142-
>There is a simple demo for building docsify in docker.
142+
- Create docsify files
143143

144-
?> tips: you can create all the files for this demo from [Quickstart](https://docsify.js.org/#/quickstart?id=initialize).
144+
You need prepare the initial files instead of making in container.
145+
See the [Quickstart](https://docsify.js.org/#/quickstart) section for instructions on how to create these files manually or using [docsify-cli](https://github.com/docsifyjs/docsify-cli).
145146

146-
- Preparing Docsify initial files
147-
You need prepare the initial files (generated by run `docsify init ./docs`) instead of making in container.
147+
```sh
148+
index.html
149+
README.md
150+
```
148151

149-
```sh
150-
index.html
151-
README.md
152-
```
153-
154-
- Dockerfile
152+
- Create dockerfile
155153

156154
```Dockerfile
157155
FROM node:latest
@@ -171,13 +169,13 @@ frontend:
171169
Dockerfile
172170
```
173171

174-
- Build Image
172+
- Build docker image
175173

176174
```sh
177175
docker build -f Dockerfile -t docsify/demo .
178176
```
179177

180-
- Run
178+
- Run docker image
181179

182180
```sh
183181
docker run -itp 3000:3000 --name=docsify -v $(pwd):/docs docsify/demo

0 commit comments

Comments
 (0)