This image contains a Hexo distro.
It is actually a the base for my website.
Start hexo in interactive mode with two folders mounted and in EDGE mode... EDGE mode will always try to upgrade hexo after a restart. This might break your build if the update was not a good one. (default EDGE=0)
docker run \
--rm \
--name hexo \
-it \
-v $(pwd)/blog:/blog \
-v $(pwd)/scripts:/scripts \
-p 4000:4000 \
-e EDGE=1 \
ivonet/hexo
This command you do on a running hexo to re-render static content. e.g. when a new blog was added.
docker exec -it hexo hexo generate --debug
Please look in the bin folder for some example scripts that might help...
This folder can be used to install "aftermarket" stuff :-) if you put a shell script in that folder and restart docker it will be executed in the docker container
this folder contains the blog. If empty it will be filled with a default landscape theme
if it already contains stuff then it will just start the server
My twitter handle: @ivonet
Content type
Image
Digest
Size
29.1 MB
Last updated
over 7 years ago
docker pull ivonet/hexo