docker build -t exaequos .
Example of file tree for an app in /media/localhost/
<project pwd>
/build/media/localhost/
<app name>/
src/
sources
exa/
<app name>.js
<app name>.wasm
docker run -it -v $(pwd):$(pwd) -w $(pwd) -v $(pwd)/.cache:/home/emscripten-exa/cache -p 127.0.0.1:7777:7777 -u $(id -u ${USER}):$(id -g ${USER}) exaequos
emcc src/test.c -o exa/test.js
Start server.js at parent directory of /media/locahost (build dir in this example)
node /home/emscripten-exa/third_party/server/server.js
/media/localhost/test