Skip to content

juji/docker-node-jekyll

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

docker-node-jekyll

A dockerize node, jekyll and netcat.

Build jekyll with http request.

docker compose

Below are the default values for environment variables

version: "3"

services:
	jekyll:
		environment:
			- LISTEN_PORT=8080
			- JEKYLL_DIR=/data
			- JEKYLL_BUILD=/usr/local/bin/build
		volumes:
			- ./your-own-build-instruction:/usr/local/bin/build
			- ./your-jekyll-directory:/data

Build Script

The default build script builds jekyll in the JEKYLL_DIR

#!/bin/bash

jekyll build

# => The current folder will be generated into ./_site

To trigger build, you can request via http. where netcat is listening on LISTEN_PORT. Example:

curl http://jekyll-host:8080

Specs

  • debian jessie
  • node.js 6.10
  • ruby 2.4
  • netcat

About

A dockerize node, jekyll and netcat.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages