Skip to content

Safe-Security/docker-node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template base Image for all Node services.

A dockerized template image containing typescript, pm2, nodemon.

Usage

  • Build the image

docker build -t safe-security-node .

  • Use the image by including the following in another Dockerfile.

FROM safe-security-node

  • Now go in the example directory (cd example), build the image

docker build -t example:latest .

Note: The 'example' image uses 'safe-security-node' image as the base Image.

  • Now use the below command to run the image

docker run example

  • The output shown:

hello world

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published