A simple image for crate a blog system by using Hexo and NexT
1.2K
Dockerfile for create a Hexo blog container
A docker image for crating a blog which based on Hexo & NexT theme.
# create
docker build -t chowrex/hexo-blog .
# push
docker push chowrex/hexo-blog:latest
# Get default content
docker run -d --name blog chowrex/hexo-blog:latest
docker cp blog:/app .
docker stop blog
docker rm blog
# Run container
docker run -d -p 4000:4000 -v $PWD/app:/app --name blog chowrex/hexo-blog:latest
When you done, you can just modified app/_config.ymlto configure the Hexo's settings, for more information , click
And app/_config.next.yml to configure the NexT's settings, for more information, click
To add post, just add .mdfiles into app/source/_posts/.
Content type
Image
Digest
sha256:c8aba98a7…
Size
111.1 MB
Last updated
7 months ago
docker pull chowrex/hexo-blog