Skip to content

Instantly share code, notes, and snippets.

@jamtur01
Created June 17, 2014 16:54
Show Gist options
  • Save jamtur01/3a0d79ca699c556d1aa0 to your computer and use it in GitHub Desktop.
Save jamtur01/3a0d79ca699c556d1aa0 to your computer and use it in GitHub Desktop.
1. Create the Jekyll base and builder images and the Apache image (once-off).
2. Create a container from our Jekyll image that holds our website source. This will be stored in a volume.
3. When we want to edit our site we can use the website source volume.
4. Create a container from our Jekyll builder image that will compile our new site and store it in a new volume.
5. Create a Docker container from our Apache image that uses the volume containing the compiled site and serve that out.
6. Rinse and repeat as the site needs to be updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment