Serve Hexo blog using Docker
You can simply add a Dockerfile which looks like:
1 | FROM node:alpine AS builder |
Then call docker build -t image:tag . to build your own blog. To run the blog locally, you can simply run command docker run -p {host_port}:80 image:tag.