Skip to content

Latest commit

 

History

History

nodejsExample

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Check if Docker is Installed

docker --version

Build

docker build -t talk/nodejsexample:1.0 .

Run your docker image

docker run -d -p 9080:9080 talk/nodejsexample:1.0

To Test

  1. Locally : curl http://127.0.0.1:9080/

  2. Lan

    • Get your IP : ifconfig | grep "inet " | grep -v 127.0.0.1
    • curl http://<YourIP>:9080