I have deployed a NER model using the docker container on EC2. The generated docker image occupied 3GB with all the dependencies. I have a few questions regarding deploying multiple ML models.
- Do I need to create an image for each application and orchestrated it with Kubernetes?
- If so, is there a way to have the global environment dependencies for all the applications. I think creating 2GB of docker images for each application is an inefficient approach.
- What are the common practices followed in this kind of scenario?