"ngc config set" gives an error in the Dockerfile

I’m currently trying to create a pre-set up “tlt-streamanalytics” docker image for in-house development.

But when I run RUN ngc config set in the Dockerfile, I get an error.

I don’t know what’s wrong, so please help someone.

[Dockerfile]

FROM nvcr.io/nvidia/tlt-streamanalytics:v3.0-py3
SHELL ["/bin/bash", "-c"]
RUN source ~/.bashrc
RUN ngc config set

[error]

 => ERROR [3/3] RUN ngc config set                                                                                                                         0.2s
------
 > [3/3] RUN ngc config set:
#6 0.229 /bin/bash: ngc: command not found
------
executor failed running [/bin/bash -c ngc config set]: exit code: 127

I was able to solve it myself.
I succeeded by executing RUN /install_ngc_cli.sh.

i am getting below error while setting ngc api key

riva@C212:~$ ngc config set
[13150] Error loading Python lib ‘/usr/local/bin/libpython3.9.so.1.0’: dlopen: /usr/local/bin/libpython3.9.so.1.0: cannot open shared object file: No such file or directory
riva@C212:~$ install_ngc_cli.sh.