diff --git a/hexo/Dockerfile b/hexo/Dockerfile index 2613ba0..15b0ab1 100644 --- a/hexo/Dockerfile +++ b/hexo/Dockerfile @@ -4,7 +4,7 @@ MAINTAINER Newnius 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 diff --git a/hexo/README.md b/hexo/README.md index 52831d1..5aa4b5f 100644 --- a/hexo/README.md +++ b/hexo/README.md @@ -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