Files
Dockerfiles/hexo/Dockerfile

22 lines
452 B
Docker
Raw Normal View History

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