Public | Automated Build

Last pushed: 3 years ago
Short Description
This image creates a "development environment" container for frontend javascript projects.
Full Description

docker-frontend-js-dev

Docker image for frontend javascript development

This image creates a "development environment" container for frontend javascript projects.
No need to install and configure tools anymore, just mount your source code inside the container and code away!

This image is available directly on the official Docker registry.

Includes

The following tools are available inside containers created by this image:

System tools

  • NodeJS
  • npm
  • Git

Node modules

  • Yeoman
  • Bower
  • Grunt-CLI
  • Gulp

Yeoman generators

Usage

This image is meant to be used in a development environment. To properly deploy in a production environment, you should minify your project and it's dependencies beforehand.

To create a ready-to-use frontend javascript development environment, navigate to the project directory on your host and then use the command below. You'll then still be located at the root of your project, but inside the docker container. This'll allow you to use the development tools listed above (npm, Gulp, Bower, etc.).

docker run --rm -it -v $PWD:/dev-env -p 3000:3000 elamoureux/frontend-js-dev

If you need to fine tune the behavior of the container, please refer to the official documentation.

Docker Pull Command
Owner
elamoureux