This image provides a Reveal.js (Homepage | Github) presentation webserver inside a docker container. It uses Version 3.0.0
The Dockerfile is heavily based on work from Peter Parente dockerfiles
Also available via docker hub. Simply docker pull fschl/revealjs.
fschl/revealjs comes with onbuild support. To create a new presentation use a 1-line-Dockerfile with
FROM fschl/revealjs:onbuildprovide your slides in a file called slides.md. Then start a new container using
docker build -t $(USER)/revealjs:slides . && docker run -it --rm -p 8000:8000 $(USER)/revealjs:slidesAn Example Presentation Project is available. It comes with a handy Makefile.
- edit the markdown file
slides.md - put images inside
/imagesdirectory - set specific styles in
custom.css - run
make dev - visit
http://localhost:8000
Using the dev goal enables you to update the slides content, images and custom.css styles without needing to rebuilding the image or restarting the container!
- run
sudo make slides - for speakernotes press
S - present
reveal.js containerized. See http://mindtrove.info/a-reveal.js-docker-base-image-with-onbuild/ for details.