Public | Automated Build

Last pushed: 2 years ago
Short Description
a hexo runtime docker image
Full Description

Wisicn Hexo Runtime docker

This is the Dockerfile for the docker image wisicn/hexo-runtime.

This Dockerfile is forked from

Usage: see to see how to create a container from this image.

Notes: use -v to specific your hexo workspace in your host, then run the hexo commands inside the docker container.

Step by step:

  1. create the docker container by in your host

  2. inside the docker container, ssh-keygen, then upload your publick key to Github repository.

  3. inside the docker container, run these command to change your git global config.

    git config --global ""
    git config --global "Your Name"
  4. inside the doker container, cd /hexo. it will be better to create a sub directory under /hexo, such as, to serve mutiple sites in case of.

  5. cd /hexo/ and run these hexo commands:

      hexo init
      npm install
      npm install hexo-deployer-git --save
  6. modify your _config.yml and theme/bar/_config.yml

  7. that's all, done

Docker Pull Command
Source Repository