ihaskell-notebook
ihaskell-notebook copied to clipboard
tmpfs mount
Most of the Display packages need to write tmp files for every render, so it's important that there be a proper tmpfs mount.
https://docs.docker.com/storage/tmpfs/
I tried docker run --rm --tmpfs /tmp -p 8888:8888 -v $PWD/notebook:/home/jovyan/work --name learn-you-a-haskell ghcr.io/jamesdbrock/ihaskell-notebook:master jupyter lab --LabApp.token='' and confirmed that the ihaskell-diagrams package is using the /tmp directory. But it didn't improve refresh speed perceptibly.