I am using this kjarosh/latex:2023.1-small docker container to build my own latex docker runtime. When I use XeLaTeX to build the moderncv tex file, I get this error:
LaTeX Error: File `moderncv.cls' not found
I have tried to put moderncv.cls' to path /root/texmf/tex/latex. It seems that LaTeX did not search the path: What should I do to add the moderncv.cls` to the search path?