Created
June 16, 2015 21:21
-
-
Save vdemeester/f5348e8e039a10d4c4c4 to your computer and use it in GitHub Desktop.
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
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"] |
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
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