Docker image for Pelican. Forked from https://github.com/boonto/docker-pelican
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Go to file
3wc 0a96ea3fa8
Add example docker-compose.yml
2 months ago
.drone.yml Add Drone for image building 2 months ago
Dockerfile Simplify image build? 2 months ago
LICENSE Initial commit 3 years ago
README.md update versions 1 year ago
docker-compose.yml Add example docker-compose.yml 2 months ago
pelicanconf.py Simplify image build? 2 months ago

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.10.2-4.7.2

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 Sans font for use with the m.css Pelican theme.