update hexo

This commit is contained in:
Newnius 2019-03-27 13:21:06 +08:00
parent 832c6343fd
commit 14c2d163d7
2 changed files with 8 additions and 8 deletions

View File

@ -4,7 +4,7 @@ MAINTAINER Newnius <newnius.cn@gmail.com>
RUN apk --no-cache add git
RUN npm install hexo-cli -g
RUN npm install hexo-cli@3.4.4 -g
ADD bootstrap.sh /etc/bootstrap.sh

View File

@ -14,13 +14,13 @@ Documents: [Hexo](https://hexo.io/)
```
docker service create \
--name hexo \
--replicas 1 \
--publish 4000:4000 \
--env GIT_EMAIL="username@example.com" \
--env GIT_NAME="username" \
--mount type=bind,source=/path/to/blog,target=/blog \
newnius/hexo
--name hexo \
--replicas 1 \
--publish 4000:4000 \
--env GIT_EMAIL="username@example.com" \
--env GIT_NAME="username" \
--mount type=bind,source=/path/to/blog,target=/blog \
quickdeploy/hexo:3.8.0
```
## Notice