11ty / eleventy-base-blog

A starter repository for a blog web site using the Eleventy static site generator.
https://eleventy-base-blog.netlify.app/
MIT License
1.21k stars 619 forks source link

Add Docker local dev via feature/docker #73

Closed khalwat closed 3 years ago

khalwat commented 3 years ago

Adds a quick and easy way to run 11ty out of the box via Node.js on Docker, detailed in the Running Node.js in Docker for local development article.

This "shrink wraps" the devops needed to run 11ty into a Docker container, and allows people to run 11ty builds/serves without having Node.js installed locally (or having to care about the version of Node.js that they have).

Might be outside of what you want to do, which is fine... but I'd be happy to add this to your other starters if you like.

Edit: looks like the build failed because it ran out of memory:

FATAL ERROR: NewSpace::Rebalance Allocation failed - process out of memory
zachleat commented 3 years ago

Ah yeah sorry I definitely don’t want to add Docker as a dependency to this project but would welcome a separate starter project!

khalwat commented 3 years ago

Well, it wouldn't really be a dependency... it'd just be there to use if people wanted to. But I get it, no worries!