Skip to content

Commit 54911ac

Browse files
committed
workaround for npm/uid-number#3
1 parent 2412a6f commit 54911ac

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,10 @@ FROM node:10-alpine
33
LABEL AUTHOR Chris<[email protected]>
44

55
RUN apk add --no-cache git \
6+
&& npm config set unsafe-perm true \
67
&& npm install -g hexo-cli \
78
&& npm cache clear --force \
9+
&& npm config set unsafe-perm false \
810
&& rm -rf /tmp/* \
911
&& mkdir /blog \
1012
&& chown node:node /blog

0 commit comments

Comments
 (0)