Jupyterhub loading taking lot of time

installing packages via a shell script (pip install) by below option. due to this taking lot of time to load jupyterhub. is there any other way for quick start. same time we need all the pkgs.
lifecycleHooks:
postStart:
exec:
command:
- “sh”
- “-c”
- >
#pip install -r /tmp/requirements.txt > /tmp/ins_op 2>&1;
sh -x /tmp/deploy.sh > /tmp/deploy_log 2>&1;

It’ll be quicker to build your own singleuser container image instead of installing things at runtime.