manatee-project / manatee

Apache License 2.0
12 stars 3 forks source link

[Refactoring] Use distroless image instead of full scipy-notebook image #6

Open dayeol opened 1 month ago

dayeol commented 1 month ago

Problem

Image build time is currently around a few minutes, which can be attributed to the full jupyter notebook image being 4 GB. We really don't need that since we are just running a single ipynb file. Also, there are security issues because of the large attack surface.

Solution

As an alternative, switch to distroless image which will only include what is needed. This will ensure that the container running in the TEE is minimal.