2016-11-11 10:33:18 +00:00
|
|
|
FROM node:latest
|
|
|
|
|
|
|
|
MAINTAINER Newnius <newnius.cn@gmail.com>
|
|
|
|
|
2017-03-30 09:11:20 +00:00
|
|
|
RUN apt-get -y update && apt-get -y install git && npm install -g hexo-cli
|
2016-11-11 10:33:18 +00:00
|
|
|
|
|
|
|
RUN npm install hexo-generator-feed --save
|
|
|
|
|
|
|
|
#Local Search
|
|
|
|
RUN npm install hexo-generator-searchdb --save
|
|
|
|
|
2016-12-01 03:51:10 +00:00
|
|
|
RUN npm install --save hexo-algolia@0.2.0
|
|
|
|
|
|
|
|
RUN npm install hexo-deployer-git --save
|
|
|
|
|
2016-11-30 12:04:30 +00:00
|
|
|
|
2016-11-11 10:33:18 +00:00
|
|
|
ADD bootstrap.sh /etc/bootstrap.sh
|
|
|
|
|
|
|
|
WORKDIR /blog
|
|
|
|
|
2017-03-30 09:08:10 +00:00
|
|
|
ENTRYPOINT ["/etc/bootstrap.sh"]
|