Skip to content

FCJ-DNTU/sample-02

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeJS Example Server with docker for AWS Labs & Custom Labs

An example of node application for labs or custom labs

Note: this application runs on linux

Prerequisite

You must have these dependencies to clone and run this app

Install

Easy to install, just cd to this repository folder and

bash docker_install.sh

Start

You should start server with bash script, build a docker image named my-image and run docker container named my-server from this image

bash start.sh --image="my-image" --container="my-server"

You can stop the running container like this

bash stop.sh --container="my-server"
# Or use -r to remove the container
bash stop.sh -r --container="host"

Note: Docker container listens on PORT 3000 and receive request from Host in PORT 80.

About

An example of node application for labs or custom labs

Topics

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors