diff --git a/Dockerfile b/Dockerfile index eacb058..a5d6de3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,8 +3,10 @@ FROM node:10-alpine LABEL AUTHOR Chris<36bweb.rocks@gmail.com> RUN apk add --no-cache git \ + && npm config set unsafe-perm true \ && npm install -g hexo-cli \ && npm cache clear --force \ + && npm config set unsafe-perm false \ && rm -rf /tmp/* \ && mkdir /blog \ && chown node:node /blog