Nix-based Docker image with Puppeteer
docker load <(nix-build -A docker --no-out-link)
nix-shell -A drv --pure --run 'mkdir -p docs; cd $_; example'
Create the docs
directory and make sure the pptuser
can write to it.
mkdir -p docs
chmod a+w docs
Run the example to generate the screenshot.
docker run --rm \
-v "$PWD/docs":/docs \
-w /docs \
yurrriq/nix-puppeteer:0.0.1