Skip to content

Commit

Permalink
workaround for npm/uid-number#3
Browse files Browse the repository at this point in the history
  • Loading branch information
36web committed Jan 23, 2019
1 parent 2412a6f commit 54911ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Dockerfile
Expand Up @@ -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
Expand Down

0 comments on commit 54911ac

Please sign in to comment.