Guess it works with having a base image and just rebuilding it with the code that should be run. Code is passed via an api call from frontend to backend. This should make sure not the whole environment is rebuilt again because of the docker cache but only the code which has been submitted.
How the docker thing actually works is just my guess btw.
For the remote code execution, they are spawning docker containers it seems like:
https://twitter.com/KennethCassel/status/1335314388824301569...
Guess it works with having a base image and just rebuilding it with the code that should be run. Code is passed via an api call from frontend to backend. This should make sure not the whole environment is rebuilt again because of the docker cache but only the code which has been submitted.
How the docker thing actually works is just my guess btw.