garethhunt / docker-11ty

Run 11ty without installing node

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-11ty

A simple way of running 11ty without having to install node

Build the docker image

$ docker build -t <your-image-name> .

Run the image with local src directory as the document root

$ docker run -p 3000:3000 -p 3001:3001 -it --mount type=bind,source="$(pwd)"/src,target=/usr/src/app/src <your-image-name>

Edit files

Edit files in the document root and 11ty will transform them to HTML

About

Run 11ty without installing node

License:MIT License


Languages

Language:Dockerfile 71.5%Language:Liquid 28.5%