Docker image for Pelican. Forked from https://github.com/boonto/docker-pelican
Go to file
Patrick Werner 5b1f38c0e6
add fontconfig download
2020-05-15 14:01:51 +02:00
Dockerfile add fontconfig download 2020-05-15 14:01:51 +02:00
LICENSE Initial commit 2020-02-12 22:38:28 +01:00
README.md add matplotlib and source code pro font 2020-05-08 22:33:03 +02:00

README.md

Docker image with Pelican

Create a volume for the output files.

docker volume create pelican_files

Run the pelican build with your site, replace <your-site-dir> with the directory of your Pelican source files. The output will be written into the previously created volume pelican_files. Changes are regenerated automatically.

docker run --detach \
--name=pelican \
--volume <your-site-dir>:/site \
--volume pelican_files:/site-generated \
boonto/pelican:3.8.1-4.2.0

May be used in conjunction with the nginx container to serve the output.

docker run --detach \
--name=site \
--volume pelican_files:/usr/share/nginx/html:ro \
nginx

Also provides matplotlib, latex and the Source Code Pro font for use with the m.css Pelican theme.