Sign inSign up

chowrex/hexo-blog

By chowrex

•Updated 7 months ago

A simple image for crate a blog system by using Hexo and NexT

Image
0

1.2K

chowrex/hexo-blog repository overview

⁠Hexo Blog

Dockerfile for create a Hexo blog container

⁠Hexo Blog

A docker image for crating a blog which based on Hexo & NexT theme.

⁠How to build

# create 
docker build -t chowrex/hexo-blog .

# push
docker push chowrex/hexo-blog:latest

⁠Usage

# 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/.

Tag summary

Content type

Image

Digest

sha256:c8aba98a7…

Size

111.1 MB

Last updated

7 months ago

docker pull chowrex/hexo-blog