HUB
Sign inSign up

aahoo/yeoman-webapp

By aahoo

•Updated over 10 years ago

Docker image for Yeoman + generator-webapp

Image
1

471

aahoo/yeoman-webapp repository overview

⁠yeoman + generator-webapp docker image⁠

⁠Test Drive

  1. run: docker run -it --rm -p 9000:9000 aahoo/yeoman-webapp
  2. yo webappp
  3. gulp serve
  4. open browser > "virtual machine IP":9000 (e.g. http://192.168.99.100:9000/⁠)

⁠Regular Use

Mount a host directory to the container

⁠Need to do only for the first run
  1. mkdir -p my-project && cd $_
  2. docker run -it -p 9000:9000 -v $(pwd):/home/yeoman/my-project --name wa aahoo/yeoman-webapp

In windows, you may have to change $(pwd) to /$(pwd)

  1. yo webapp
  2. gulp serve
  3. open browser > "virtual machine IP":9000 (e.g. http://192.168.99.100:9000/⁠)
⁠Need to do for the following runs
  1. cd my-project
  2. docker start -i wa
  3. gulp serve
  4. open browser > "virtual machine IP":9000 (e.g. http://192.168.99.100:9000/⁠)

⁠More info

This image is based on aahoo/yeoman⁠. Since both of these images are "AUTOMATED BUILD", you can see their Dockerfiles to ensure that you don't compromise your project's security.

Tag summary
Recent tags
Content type
Image
Digest
Size
288.6 MB
Last updated
over 10 years ago
docker pull aahoo/yeoman-webapp:latest