Sign inSign up

tknxn/hexo

By tknxn

Updated almost 8 years ago

Docker image for Hexo build by Alpine Linux

Image
0

876

tknxn/hexo repository overview

https://github.com/tknxn/docker-hexo

Dockerfile

FROM node:10.13.0-alpine
# install hexo
RUN npm install hexo-cli -g
# init
WORKDIR _init
RUN hexo init && npm install
# create data volume
VOLUME /blog
WORKDIR /blog
# hexo default port
EXPOSE 4000
# set entrypoint
COPY entrypoint.sh /root/
RUN chmod +x /root/entrypoint.sh
# run hexo server
ENTRYPOINT ["/root/entrypoint.sh"]

Tag summary

Content type

Image

Digest

Size

62.5 MB

Last updated

almost 8 years ago

docker pull tknxn/hexo