Skip to content

Commit 2412a6f

Browse files
committed
use alpine as base image
1 parent f05a5cd commit 2412a6f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

Dockerfile

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
FROM node:10
1+
FROM node:10-alpine
22

3-
LABEL AUTHOR 36web<[email protected]>
3+
LABEL AUTHOR Chris<[email protected]>
44

5-
RUN npm install -g hexo-cli \
5+
RUN apk add --no-cache git \
6+
&& npm install -g hexo-cli \
67
&& npm cache clear --force \
78
&& rm -rf /tmp/* \
89
&& mkdir /blog \

0 commit comments

Comments
 (0)