You should be able to create your python 3.12 Linux code app on Azure and it would contain the runtime needed to run your web jobs. Also on your kudu console when you SSH to your container, you should be able to find the pip tool path:
enter image description here