Skip to content

Instantly share code, notes, and snippets.

@vdemeester
Created June 16, 2015 21:21
Show Gist options
  • Save vdemeester/f5348e8e039a10d4c4c4 to your computer and use it in GitHub Desktop.
Save vdemeester/f5348e8e039a10d4c4c4 to your computer and use it in GitHub Desktop.
FROM digitallyseamless/nodejs-bower-grunt:0.12
MAINTAINER Vincent Demeester <[email protected]>
COPY package.json /data/
RUN npm install
COPY . /data/
WORKDIR /data
ENTRYPOINT ["grunt"]
echo "Build tz-docker-night-light image.."
docker build -t tz-docker-night-light .
echo "Run it on local port 8000"
docker run -d -p 8000:8000 \
-v $PWD/CahierExercices:/data/CahierExercices \
-v $PWD/Exercices:/data/Exercices \
-v $PWD/Slides:/data/Slides \
-v $PWD/Gruntfile.js:/data/Gruntfile.js \
--name tz-prez \
tz-docker-night-light
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment