Nodejs webserver used as the host for my webgl client
- Clone repo
- Put webgl files exported by unity into the client folder
- Open terminal and cd into the freshly cloned repo
- containerize with docker
docker build . -t happymajor/webglhost
- run the container
docker run -p 8001:8080 -d happymajor/webglhost
- open localhost:8001 in your browser
- You need to disable compression in Unity before building the WebGl client
files>build settings>player settings>Publishing settings
(Otherwise you need HTTPS for br files)