Skip to content

Latest commit

 

History

History
executable file
·
18 lines (11 loc) · 380 Bytes

File metadata and controls

executable file
·
18 lines (11 loc) · 380 Bytes

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