This commit is contained in:
newnius
2016-11-11 18:33:18 +08:00
commit 435e692e40
3 changed files with 28 additions and 0 deletions

16
hexo/Dockerfile Normal file
View File

@@ -0,0 +1,16 @@
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
ADD bootstrap.sh /etc/bootstrap.sh
WORKDIR /blog
ENTRYPOINT ["/etc/bootstrap.sh", "nothing"]