Created
February 9, 2015 19:45
-
-
Save trodrigues/3220a4a3ed110f3b30cd to your computer and use it in GitHub Desktop.
Running docker on a file watcher
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Dockerfile */ | |
FROM nodesource/node:trusty | |
COPY . /src | |
WORKDIR /src | |
VOLUME .:/src | |
RUN npm install -g watchy | |
RUN npm install | |
/* Build it */ | |
docker build -t sdm_client . | |
/* Command */ | |
watchy -w public/javascripts -- docker run -i --rm=true sdm_client make all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment