Files
Dockerfiles/hexo/Dockerfile
2016-11-30 21:15:20 +08:00

19 lines
403 B
Docker

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
RUN npm install --save hexo-algolia
ADD bootstrap.sh /etc/bootstrap.sh
WORKDIR /blog
CMD ["bash", "/etc/bootstrap.sh", "nothing"]