This example uses geckos.io v2.2.2.
To clone and run this example, you'll need Git and Node.js (which comes with npm) installed on your computer. From your command line:
# Clone this repository
$ npx gitget https://github.com/geckosio/simple-chat-app-example
# Go into the repository
$ cd simple-chat-app-example
# Install dependencies
$ npm install
# Start the app
$ npm start
# Done
# Now open your browser on http://localhost:8080 or http://127.0.0.1:8080
Make sure you open ports 3000/tcp and 1025-65535/udp
# build
docker build --progress=plain -t geckos-chat-app .
# run
docker run -p 3000:3000/tcp -p 10000-10007:10000-10007/udp geckos-chat-app
docker run -p 3000:3000/tcp -p 10000-10007:10000-10007/udp yandeu/geckos.io-simple-chat-app:latest
Have a look at the httpServer branch as well!