Skip to content

arcticbit/docker-reveal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-reveal

Docker image for running your reveal.js presentations in a container.

Setup

Create a directory

$ mkdir slides
$ cd slides

Export default template

$ docker create --name reveal arcticbit/reveal
$ docker cp reveal:/reveal/index.html ./index.html
$ docker cp reveal:/reveal/js ./js
$ docker cp reveal:/reveal/css ./css

Start server

$ export SLIDES_PATH=$(pwd)
$ docker run -d \
    -p 8000:8000 \
    -v $SLIDES_PATH/index.html:/reveal/index.html \
    -v $SLIDES_PATH/js:/reveal/js \
    -v $SLIDES_PATH/css:/reveal/css \
    -v $SLIDES_PATH/public:/reveal/public \
    --name reveal \
    arcticbit/reveal

About

revealjs running in a docker container

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published