Skip to content

Commit

Permalink
docker
Browse files Browse the repository at this point in the history
  • Loading branch information
sgurin authored and sgurin committed Oct 16, 2017
1 parent 9834d10 commit ad8cb61
Show file tree
Hide file tree
Showing 2 changed files with 280 additions and 274 deletions.
16 changes: 11 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,23 @@

# cd short-jsdoc
# docker build -t short-jsdoc .
# docker run -p 8080:8080 --mount type=bind,source="$(pwd)",target=/frontend short-jsdoc grunt run

#
# For executing an interactive command line:
# docker run -p 8080:8080 --mount type=bind,source="$(pwd)",target=/frontend -ti short-jsdoc /bin/sh
#
# For executing grunt run directly:
# docker run -p 8080:8080 --mount type=bind,source="$(pwd)",target=/frontend short-jsdoc grunt run
#
# That last command will run grunt run in the docker synchronizing files so you can use your host preferred text editor and browser.
# to stop all docker containers - after you finish working - execute:

#
# docker stop $(docker ps -a -q)

#
# for removing all docker images use:

#
# docker rmi $(docker images -q) --force


FROM node:6.11.4-alpine

RUN mkdir -p /frontend
Expand Down
Loading

0 comments on commit ad8cb61

Please sign in to comment.