A Dockerfile that works.
- Build image by
docker build https://github.com/BaksiLi/docker-mit-scratch-gui.git#main
- Run by
docker run -d -p 8601:8601 --name scratch-gui <image-id>
If you are running scratch-gui with a hostname, e.g. NGROK, domain, other than localhost:8601
, you will have Invalid Host header problem.
docker exec -u 0 -it <container-id> /bin/sh
and follow this to mod webpackserver.