Skip to content

🧪🥫 - it's Jekyll in a container

License

Notifications You must be signed in to change notification settings

some-natalie/jekyll-in-a-can

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

jekyll-in-a-can

🧪🥫 - it's Jekyll in a container

usage

change directories into your project's root directory, then run it

docker run -it --rm \
  --volume="$PWD:/work" \
  -p 4000:4000 \
  ghcr.io/some-natalie/jekyll-in-a-can:latest

sometimes it's helpful to clear the previous build's stuff first, then run it

rm -rf Gemfile.lock _site .jekyll-cache

it needs to be in the same directory as your Gemfile in order to build the site. it'll then run a local server for development.

notes

it's rebuilt once a week automatically. versions of gems, etc, are unpinned by default and will float to latest or whatever is in the gemfile. the base image is Chainguard's ruby development image's latest tag, which is rebuilt daily.

this isn't for production use, just local development of static sites.

images older than 2 months are deleted automatically.

About

🧪🥫 - it's Jekyll in a container

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages