Skip to content

Dockerfile for nanoc development with guard-nanoc.

Notifications You must be signed in to change notification settings

ptMcGit/nanoc_guard

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

nanoc with guard-nanoc

What is this?

An implementation of nanoc with guard-nanoc for Docker.

The goal of this project is to containerize a nanoc development environment. guard-nanoc monitors files for changes.

entrypoint.sh

The entrypoint script does the following:

  • bundle installs any missing gems
  • bundle installs guard-nanoc, if missing
  • creates Guardfile, if none present
  • executes bundle exec nanoc with live if no command arguments provided

How to use it

You'll want to bind mount your project folder to /data; you'll also want bind a port on the host to 3000 on the container:

docker run -v /home/bob/my_project:/data -p 3000:3000 skynarwhal/nanoc_with_guard

About

Dockerfile for nanoc development with guard-nanoc.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages