mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-13 09:36:44 +00:00
add hexo
This commit is contained in:
16
hexo/Dockerfile
Normal file
16
hexo/Dockerfile
Normal 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"]
|
||||
Reference in New Issue
Block a user