This docker image wraps hexo as a single executable.
345
This docker image wraps hexo as a single executable.
cd hexo
docker build -t hexo .
Also, this images is already published to Docker Hub, so you can pull it directly,
docker pull soulmachine/hexo
docker run -v $(pwd):/tmp/hexo -w /tmp/hexo soulmachine/hexo init blog
docker run -v $(pwd):/tmp/hexo -w /tmp/hexo/blog soulmachine/hexo new "Hello World"
docker run -v $(pwd):/tmp/hexo -w /tmp/hexo/blog soulmachine/hexo generate
docker run -v $(pwd):/tmp/hexo -w /tmp/hexo/blog -p 4000:4000 -d soulmachine/hexo server
Content type
Image
Digest
Size
23.1 MB
Last updated
over 9 years ago
docker pull soulmachine/hexo