This is a very basic websocket echo server based off the tutorial http://autobahn.ws/python/tutorials/echo/
The container is setup with an entrypoint that takes the port as the first argument. Bind to the corresponding external point either directly with Docker.
docker run -p 8080:8080 datacoda/websocket-echo 8080
You can also just expose it and use a reverse proxy to do the external access.
docker run -expose 80 datacoda/websocket-echo 80
MIT