Enabling Nbextensions using custom docker image

Hi,
I am trying to install and enable Nbextensions via docker image. I have setup jupyterhub on EKS cluster. Nbextensions are not getting enabled.
Following from documentation-
https://zero-to-jupyterhub.readthedocs.io/en/latest/jupyterhub/customizing/user-environment.html

When i try to install and enable via jupyterlab terminal , they are getting enabled.

pip install jupyter_nbextensions_configurator
jupyter nbextensions_configurator enable --user

pip install jupyter_contrib_nbextensions
jupyter contrib nbextension install --user

My docker file-

FROM jupyter/minimal-notebook:lab-3.2.9

RUN pip install --no-cache-dir \

jupyter_contrib_nbextensions \

jupyter_nbextensions_configurator

RUN jupyter nbextensions_configurator enable --user && \

jupyter contrib nbextension install --user

CMD [“jupyterhub-singleuser”]

Hi!
Can you tell us your Z2JH version, and show us your configuration with secrets redacted.

What happens if you run your built Docker image directly, without JupyterHub?