This is a naive implementation of getting fusuma working through docker.
From the parent directory with the slides
directory (intended to run fusuma)
docker run -d -p 8080:8080 \
-v $(pwd)/slides:/base/slides \
-v $(pwd)/images:/base/images \
-v $(pwd)/.fusumarc.yml:/base/.fusumarc.yml \
-v $(pwd)/package.json:/base/package.json \
halosan/fusuma:latest
- Mount all the folders that you will need to
/base/
- To get the
.fusumarc.yml
, see the section below.
docker run -d halosan/fusuma:latest
docker ps # to get the container name
docker cp frosty_aryabhata:/base/.fusumarc.yml .
docker stop frosty_aryabhata
docker kill frosty_aryabhata
# Now you can run the TL;DR command
docker build -t halosan/fusuma --build-arg version=1.15.1 .