Skip to content

d-mv/docker-js-dev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker // Node/JS Environment

What is this?

This is a development environment setup for Docker container to work with nodejs v16.x.x. The shared folder mapped to ./data.

Use

Mapped port 3000 to host's one 8080. Mapped folder is to be provided as argument when building the container.

Starting

Use the following command:

./build_n_run.sh path_to_folder_with_code "command_to_execute"

Use the following scripts (optional):

  • build_n_run.sh path_to_folder_with_code "command_to_execute" - to build, run and execute code inside container.
  • run.sh path_to_folder_with_code "command_to_execute" - to delete old instance, run & execute the code inside container.
  • _destroy.sh - destroys container and image.
  • exec.sh "command_to_execute" - execute (login) with docker as user.
  • start.sh - starts container.
  • stop.sh - stops and removes container.

About

Docker // Node/JS development environment

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages