Jekyll source files for my personal page & blog.
Build the Docker image:
$ docker build -t cuducos.me .
Change the site URL at _config.yml
if needed.
To launch the server at localhost:4000
:
$ docker run -p 4000:4000 -v $(pwd)/:/home/cuducos/ cuducos.me s --host 0.0.0.0
And finally build the site into _site/
:
$ docker run -v $(pwd)/:/home/cuducos/ cuducos.me b
Optionally use set ENV
variable to build the site with the production server settings:
$ docker run -e "JEKYLL_ENV=production" -v $(pwd)/:/home/cuducos/ cuducos.me b
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.